Quick actions

cmd+k|ctrl+k

Navigation

Languages

Logical Operator

Snippet info

Language

Python

Visibility

public

Author

ankushsahu203

Created

2026-07-19T07:38:37.870126Z

Updated

2026-07-19T07:38:37.870126Z

# and
# or

# print(not(1==1))

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,re there")
elif not is_magician:
    print("You need magic power")

INFO