mirror of
https://github.com/Asabeneh/30-Days-Of-Python.git
synced 2026-06-12 21:01:48 +08:00
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:
parent
b3decc3da7
commit
f741622924
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user