3. if else block

Run Settings
LanguagePython
Language Version
Run Command
x = 4 y = 4 if x < 5: print("x is greater than 5") else: print("x is less than 5") if y > 5: print("y is less than 5") else: print("y is greater than 5") z = [1,4,7,10] z = tuple(z) print( type(z)) z=2,3,4 if len(z) >= 2: print("z is a long list") else: print("z is short list")
Editor Settings
Theme
Key bindings
Full width
Lines