Quick actions

cmd+k|ctrl+k

Navigation

Languages

Dec 4 If Else

Snippet info

Language

Python

Visibility

public

Author

tsangnel

Created

2024-12-04T04:08:16.391948Z

Updated

2024-12-04T04:49:50.136394Z

#x = 1
def a(y):
    print(y)
    return y + 1
x = 1
z = a(a(x + 1) if x > 0 else x - 1)
print(z)

    
INFO