Python - Programming Language
This course covers the basics of programming in Python. Work your way through the videos/articles and I'll teach you everything you need to know to start your programming journey!

If Statements

Lesson 16
Author : GOUP
Last Updated : September, 2020


if is_student and is_smart: print("You are a student") elif is_student and not(is_smart): print("You are not a smart student") else: print("You are not a student and not smart")

>, <, >=, <=, !=, ==

if 1 > 3: print("number omparison was true")

if "dog" == "cat": print("string omparison was true")