diff --git a/Activity_3_python/exercises_1/exercise_1_4.py b/Activity_3_python/exercises_1/exercise_1_4.py index eec7295..3a8d910 100644 --- a/Activity_3_python/exercises_1/exercise_1_4.py +++ b/Activity_3_python/exercises_1/exercise_1_4.py @@ -1,4 +1,6 @@ -prenom = "Léa" -nom = "Martin" +# From the two variables prenom and nom, display the initials (e.g. LM for Léa Martin). -print(prenom[0], nom[0]) \ No newline at end of file +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]) \ No newline at end of file