+ 1
Have you tried using vars()?
8th Jun 2020, 4:43 PM
Valmob101
+ 1
For example:
# input is ab
vars()[input()] = 1234
print(ab)
#Output will be 1234
8th Jun 2020, 4:53 PM
Valmob101
Często masz takie pytania?
Ucz się bardziej efektywnie, za darmo:
Popularne dzisiaj
Beginner question
 0 Votes
I need help to solve this
 0 Votes
Remove
 0 Votes
Project
 0 Votes
Engineer Cloud
 0 Votes
Lua?
 1 Votes



