1- ๐ŸŒŸWelcome and variables๐ŸŒŸ

1- ๐ŸŒŸWelcome and variables๐ŸŒŸ

ยท

1 min read

Welcome message

print("๐Ÿ‘‹ Hello, Anas! Let's dive into Python together!")

Excitement for Python

print("๐Ÿ I'm super excited to learn Python!")

Variables with names

author = "Anas" 
reader = "Aviar"

Print reader's name

print("๐Ÿ“š Reader's name:", reader)

Update reader's name

reader = "Muhammad"

Print updated reader's name

print("๐Ÿ“– Updated reader's name:", reader)

Variables with favorite things

favorite_color = "green" 
mood = "happy" 
age = 10 
school = "Kar" 
favorite_food = "Briani"

Printing favorite food using comma separation

print("๐Ÿ› I love", favorite_food + "!")

Printing favorite color using comma separation

print("๐ŸŽจ My favorite color is", favorite_color + "!")
ย