Quick actions

cmd+k|ctrl+k

Navigation

Languages

20230926KOPM

Snippet info

Language

Python

Visibility

public

Author

john20023

Created

2023-09-26T06:45:57.01818Z

Updated

2023-09-26T06:45:57.01818Z

x=10
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]
if len(z) < 2:
    print ("z is a long list")
else:
    print ("z is a short list")
INFO