Quick actions

cmd+k|ctrl+k

Navigation

Languages

Conditional Logic

Snippet info

Language

Python

Visibility

public

Author

ankushsahu203

Created

2026-07-19T05:02:14.135239Z

Updated

2026-07-19T05:02:14.135239Z

is_old=True
is_licence=True
# if is_old:
#     print("You are too old")
# elif is_licence:
#     print("You are ready to drive")
# else:
#     ("drive")

if is_old and is_licence:
    print("You are too old and have a licence")

else:
    print("drive")
INFO