Learn Python
Lesson 1
print(hello world)
Print('123')
print('hello world');
print 'abcxyz'# Exercise: Printing Messages
# Write a Python program that prints different messages to the console.
# Instructions:
# 1. Print a message that says "Hello, world!"
# 2. Print your name.
# 3. Print your favorite quote.
# 4. Print a message with a number variable.
# 5. Print the result of a calculation.
# Example:
# Hello, world!
# Your Name
# "Favorite Quote"
# Your age is: 25
# 5 + 2 = 7
print("Hello, world!")
print("Your Name")
print("\"Favorite Quote\"")
number = 25
print("Your age is:", number)
print("5 + 2 =", 5 + 2)Lesson 2
Lesson 3
Last updated