Data Types
Understand strings, integers, floats, booleans and other common Python data types.
Learn by experimenting
Study the Python code, run it, change values and observe the output. Practical experimentation is an important part of learning programming.
Python Code
Python runs directly in your browser.
name = 'Alex' age = 18 price = 99.50 active = True print(type(name)) print(type(age)) print(type(price)) print(type(active))
Python Output
Program output appears here.
Test your understanding
Choose the best answer.
What is Python?