Quick actions

cmd+k|ctrl+k

Navigation

Languages

Conditional Operators

Snippet info

Language

Python

Visibility

public

Author

ak.amita28

Created

2026-04-24T09:14:30.854442Z

Updated

2026-04-24T09:14:30.854442Z

is_magician = True
is_expert = False

if is_magician and is_expert:
    print('you are a master magician!!')
    
elif is_magician and not is_expert :
    print('at least you are getting there')

elif not is_magician :
 print('You are not a magician. You need magic powers')
INFO