mirror of
https://github.com/Asabeneh/30-Days-Of-Python.git
synced 2026-06-03 21:02:42 +08:00
"update date_time.md and exception_handling.md"
This commit is contained in:
parent
9e70fef419
commit
cbc3dc273e
@ -265,6 +265,7 @@ for index, item in enumerate([20, 30, 40]):
|
||||
```
|
||||
|
||||
```py
|
||||
countries = ['Finland', 'Sweden', 'Norway', 'Denmark', 'Iceland']
|
||||
for index, i in enumerate(countries):
|
||||
if i == 'Finland':
|
||||
print(f'The country {i} has been found at index {index}')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user