# basics variables

Data Types: str and bool

Two more common types:

  • str — text, in quotes, like "hi"
  • boolTrue or False
print(type("hi"))
print(type(True))

prints:

<class 'str'>
<class 'bool'>

Your turn: print type("bye"), then print type(False).

💡 need a hint?

pyb-var-types-str-bool.py
loading...