Ask coding questions

← Back to all posts
SO how do i use if and booleans so i can make a true or false quiz
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
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

Ethan2021Replit

Thanks