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.

This commit is contained in:
Akira 2026-03-29 19:25:13 +03:30
parent b3decc3da7
commit f741622924

View File

@ -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