From 2dfee6eee3b442fbd9ed65a3c783b315f6609a32 Mon Sep 17 00:00:00 2001 From: ineb_di Date: Tue, 23 Jul 2024 11:07:59 +0200 Subject: [PATCH] Update 17_exception_handling.md Fix missing f in f-string --- 17_Day_Exception_handling/17_exception_handling.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/17_Day_Exception_handling/17_exception_handling.md b/17_Day_Exception_handling/17_exception_handling.md index b9d53350..23003756 100644 --- a/17_Day_Exception_handling/17_exception_handling.md +++ b/17_Day_Exception_handling/17_exception_handling.md @@ -107,7 +107,7 @@ try: name = input('Enter your name:') year_born = input('Year you born:') age = 2019 - int(year_born) - print('You are {name}. And your age is {age}.') + print(f'You are {name}. And your age is {age}.') except TypeError: print('Type error occur') except ValueError: