beginnerLesson 1
Variables & Data Types
Concept
Variables store values. Python has several built-in types: str (text), int (whole numbers), float (decimals), bool (True/False), and list (collections). Use type() to check a variable's type.
Create a variable called 'greeting' with the value 'Hello, AI World!' and print it. Then print the length of the greeting.
# Create your greeting variable
# Print the greeting and its length
Hello, AI World! 16