top of page

Checkpoint

Data Types: Numbers

Data Types: Strings

Concatenation

Conversion

Data Types: Booleans

Checkpoint

Summary

In the last section, we covered the four main data types and how they interact with one another. Test what you've learned by identifying the type of each of the following variables. Use the terminal if you need to check your answer, using the type() command. 

1. Identify the types of the following variables.

1 a = 4.0

2 b = 2 * 10

3 c = "two"

4 d = True

5 e = 4.0 / 2

6 f = "12.0 * 3"

7 g = "False"

8 h = 2 / 5

9 i = str(4.5)

10 j = "ABC" + "123"

Use this terminal if you're stuck:

bottom of page