Skip to content
← Back to Community
SO how do i use if and booleans so i can make a true or false quiz
Profile icon
AndrewGilini

if you know how to do this please help me! I need it so i can make a quiz for someone to take so if you know anything please share

Comments
hotnewtop
Profile icon
MrEconomical

booleans in python are either True or False (must be capitalized)

example:
x = True

you can just check if(x) and if its true it will pass
thats basically all there is to it

Profile icon
Kitty118

Thanks