mirror of
https://github.com/Asabeneh/30-Days-Of-Python.git
synced 2026-06-03 21:02:42 +08:00
commit
8bd806bbfd
@ -270,7 +270,7 @@ for index, item in enumerate([20, 30, 40]):
|
||||
for index, i in enumerate(countries):
|
||||
print('hi')
|
||||
if i == 'Finland':
|
||||
print('The country {i} has been found at index {index}')
|
||||
print(f'The country {i} has been found at index {index}')
|
||||
```
|
||||
|
||||
```sh
|
||||
@ -301,6 +301,7 @@ print(fruits_and_veges)
|
||||
|
||||
1. names = ['Finland', 'Sweden', 'Norway','Denmark','Iceland', 'Estonia','Russia']. Unpack the first five countries and store them in a variable nordic_countries, store Estonia and Russia in es, and ru respectively.
|
||||
|
||||
|
||||
🎉 CONGRATULATIONS ! 🎉
|
||||
|
||||
[<< Day 16](../16_Day_Python_date_time/16_python_datetime.md) | [Day 18 >>](../18_Day_Regular_expressions/18_regular_expressions.md)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user