Jul-21-2020, 08:36 AM
creating names dynamically is something you don't want to do.
use proper data structure
use proper data structure
keys = [f'name{i}' for i in range(3)] values = ["samuel","max","john"] names = dict(zip(keys, values)) print(names)
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs