Skip to main content

Section 16.6 Review - Data Types

Practice identifying common Python data types and understanding how data types affect what operations can be performed.

Subsection 16.6.1 Quick Reference

Common data types in we covered include int for whole numbers, float for decimal numbers, str for text in quotes, bool for True or False, and list for collections of values.

Subsection 16.6.2 Part A: Identify the Data Type

Subsection 16.6.3 Part B: Predict What Happens

Subsection 16.6.4 Part C: Fix the Type Problem

Checkpoint 16.6.3.

Rewrite the code so it works correctly.

Checkpoint 16.6.4.

Rewrite the code so it works correctly.

Checkpoint 16.6.5.

Rewrite the code so it works correctly.

Subsection 16.6.5 Part D: Create

Checkpoint 16.6.6.

Write one variable that stores an int, one that stores a float, one that stores a str, one that stores a bool, and one that stores a list.

Subsection 16.6.6 Think About ...

Checkpoint 16.6.7.

Why is it important for a programmer to know the data type of a value?
You have attempted of activities on this page.