From f74162292423ed76491cfbde806476ab59d5f2ee Mon Sep 17 00:00:00 2001 From: Akira Date: Sun, 29 Mar 2026 19:25:13 +0330 Subject: [PATCH] Update print statements in Day 17 - Exception Handling to enhance clarity by changing output messages to English and correcting index references in the 30 Days of Python challenge. --- Persain/17_exception_handling.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Persain/17_exception_handling.md b/Persain/17_exception_handling.md index 60cef92..ed34656 100644 --- a/Persain/17_exception_handling.md +++ b/Persain/17_exception_handling.md @@ -266,14 +266,14 @@ for index, item in enumerate(): ``` ```py +countries = ['Finland', 'Sweden', 'Norway', 'Denmark', 'Iceland'] for index, i in enumerate(countries): - print('hi') if i == 'Finland': - print(f'کشور {i} در اندیس {index} پیدا شد') + print(f'The country {i} has been found at index {index}') ``` ```sh -کشور Finland در اندیس 1 پیدا شد. +The country Finland has been found at index 0. ``` ## Zip