30-Days-Of-Python
30-Days-Of-Python copied to clipboard
Day 17 markdown correction
There is an error in the example code of Day 17 doc ,Packing Dictionaries part
The string object should be formatted in this way or it will not print the content of the dictionary object.
def packing_person_info(**kwargs):
for key in kwargs:
#print("{key} = {kwargs[key]}")
print(f'{key} = {kwargs[key]}')
return kwargs
print(packing_person_info(name="Asabeneh",
country="Finland", city="Helsinki", age=250))