Answer the question
In order to leave comments, you need to log in
How to add unknown variables in Python?
How to add unknown variables? For example, there is a code
for l in nawz:
locals()[l] = input("Enter number: ")
nawz
person enters the list himself. These variables are not known, but you need to perform various arithmetic operations with them. Is it possible to check it and how?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question