+ 2
[SOLVED]Assign inputs to variables (python)
How do i get a certain input from the user and assign it to one of my variables?
2 Answers
+ 6
a = input('abc')
+ 5
var1 = input("Enter variable: ")
print(var1)
How do i get a certain input from the user and assign it to one of my variables?