Quick actions

cmd+k|ctrl+k

Navigation

Languages

statement exp

Snippet info

Language

Python

Visibility

public

Author

kar-cheong

Created

2025-08-08T11:26:04.239675Z

Updated

2025-08-15T12:39:58.757596Z

x = -1
if(x > 0):
    print("x is larger than 0")
    x = x + 1
elif (x==0) :
        print("x is equal to 0")
        x = x - 1
else :
    print("x is less than 0")
print (x)
INFO