← Back to Exercises
🔤

Strings • Exercise 29 of 112

f-string Greeting

Easy⭐ 20 XP🏆 Your XP: 0

🎯 Your Mission

Make a variable called name with your name in it. Use an f-string to print "Hello, <name>!". For example, "Hello, Alex!".

🐍 main.pyTab = 4 spaces • Ctrl+Enter = Run
▶ Output
Press ▶ Run to see what your code does!