What's the difference between Variables and Booleans?(python)


from what I understood: Variables can be anything that starts with a word then the equal sine and another word.
fort = what


booleans are a word with equal sine and then true of false.
fort = true
fort = false


what should be a string then:

fort = "what"

otherwise, what would be another variable

yea, booleans can only have two values: True or False (uppercase first letter), you can store a boolean value in a variable


To elaborate, Booleans can have only two values, True and False. Where as a variable could have any number of values.


alright,thank you :slight_smile: