Python Basics: Variables and Data Types
age = 25
temperature = 98.6
name = "Earth"
is_planet = True
planets = ["Mercury", "Venus", "Earth", "Mars"]
planet_info = {
"name": "Earth",
"diameter": 12742,
"has_atmosphere": True
}
print(f"Age: {age}")
print(f"Temperature: {temperature}")
print(f"Name: {name}")
print(f"Is planet: {is_planet}")
print(f"Planets: {planets}")
print(f"Planet info: {planet_info}")