python-crash-course/Chapter_02/2-10_favorite_number.py
2025-01-22 12:32:29 -05:00

5 lines
177 B
Python

# Exercise 2-10 Favorite Number
# Learning Objective: Set a "favorite" number as a variable and print it.
myFavoriteNum = 1337
print(f"My favorite number is {myFavoriteNum}!")