Strings Challenge
Today’s challenge is all about strings (text in Python).
✅ Instructions
Create a variable called player_name with your name.
Create another variable called favorite_game with your favorite video game.
Print a sentence that combines both using a string.
📝 Example
player_name = "Enrique"
favorite_game = "Minecraft"
# This line is being concatenated
print("Hi, my name is " + player_name + " and my favorite game is " + favorite_game)
👉 Output:
Hi, my name is Enrique and my favorite game is Minecraft!
3
3 comments
Enrique Ontiveros
3
Strings Challenge
powered by
Python Playground 🐍
skool.com/python-playground-3614
A beginner-friendly Python community with live coaching, fun challenges, and a video game vibe to learn Python!
Build your own community
Bring people together around your passion and get paid.
Powered by