Quick actions

cmd+k|ctrl+k

Navigation

Languages

LOGICAL OPERATORS WAY 02

Snippet info

Language

Python

Visibility

public

Author

sermon0906

Created

2026-07-01T03:31:45.601458Z

Updated

2026-07-01T03:31:45.601458Z

is_magician = True 
is_expert = False

if is_magician and is_expert :
    print('you\'re a master magician')
elif is_magician and not is_expert :
    print('you\'re getting there')
elif not is_magician :
    print('you need powers')
INFO