exercise 1.4 update

This commit is contained in:
Tutur33
2023-11-28 22:59:35 +01:00
parent 16a195bfbe
commit 7b6ff0ba9a
@@ -1,4 +1,6 @@
prenom = "Léa" # From the two variables prenom and nom, display the initials (e.g. LM for Léa Martin).
nom = "Martin"
print(prenom[0], nom[0]) first_name = input("What's your first name? ").capitalize()
last_name = input("What's your last name? ").capitalize()
print(first_name, last_name, "has pure initials", first_name[0], last_name[0])