Quick actions

cmd+k|ctrl+k

Navigation

Languages

Shorthand if-else

Snippet info

Language

Python

Visibility

public

Author

hzx33737

Created

2023-08-13T03:56:01.271863Z

Updated

2023-08-13T03:56:01.271863Z

i = 10
print("Positive") if i>0 else print("Negative")
INFO