In this lab, I practiced defining and using variables in a Jupyter notebook. I created variables to represent user credentials, device identifiers, and login status, then explored how to inspect their data types using the type()
function.
The notebook presented a login workflow for an approved user accessing a secure device. I assigned variables for username
, device_id
, and is_authenticated
, then printed their values. Finally, I called type()
on each variable to confirm Python’s data type handling.
I now understand how to assign values of different types—strings, integers, booleans—to variables in Python, and how to verify their types with type()
. These fundamentals will help me manage and manipulate data in future analyses.