← Back to Exercises
🔤

Strings • Exercise 32 of 112

First and Last Letter

Medium⭐ 30 XP🏆 Your XP: 0

🎯 Your Mission

Store the word "elephant" in a variable. Print its first letter, then its last letter, then the first three letters.

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