+ 1

how can I assign a value to a variable with input?

18th Oct 2016, 5:26 AM
Sattar Hashemi khosroshahi
Sattar Hashemi khosroshahi - avatar
2 ответов
+ 4
var = input('enter your variable: ') ' ' ' this creates a promt that asks user for input and assigns it to variable var ' ' '
18th Oct 2016, 6:25 AM
Henxing Kandangwa
Henxing Kandangwa - avatar
0
hello
2nd Mar 2017, 5:35 AM
samir otoniel
samir otoniel - avatar