Topic: Understanding strings, integers, floats, booleans

Code prompt: name = "Jake" age = 30 is_consultant = True print(f"{name} is {age} years old. Consultant: {is_consultant}")

Details: Practice declaring variables and printing their values.

Variables:

In Python, a variable is a name that refers to a value stored in memory. You can think of it as a label for data. Variables allow you to store, retrieve, and manipulate data throughout your program.

You can declare them use the ‘=’ operator:

example_variable = my_variable

Key Points:

x = 10 # intege x = "ten" # now a string

Data types:

There are a few data types in python, and they all do different things:

1. Numeric Types

2. Text Type