diff --git a/Basics/Exercise/9_for/9_for_exercise.py b/Basics/Exercise/9_for/9_for_exercise.py
index 1860abd1..41e4b5ad 100644
--- a/Basics/Exercise/9_for/9_for_exercise.py
+++ b/Basics/Exercise/9_for/9_for_exercise.py
@@ -61,7 +61,7 @@
 if i == 4: # 4 because the index starts from 0
     print("Hurray! You are a rock star! You just finished 5 km race!")
 else:
-    print("You didn't finish 5 km race but hey congrats anyways! You still ran {i+1} miles")
+    print(f"You didn't finish 5 km race but hey congrats anyways! You still ran {i+1} miles")
 
 # 5. Write a program that prints following shape
 # ```
@@ -77,4 +77,4 @@
     s = ''
     for j in range(i):
         s += '*'
-    print(s)
\ No newline at end of file
+    print(s)