+ 1

How to assign a value to the input value one

For example Salary=input() While something: Salary=input <-I want this object assign to the input value outside the loop While something: Salary value has changed Testing with Salary

30th May 2017, 8:42 AM
hahaha
hahaha - avatar
2 Respostas
0
Now I find the answer. I assign y=input('annual salary') in the first line to prevent the same variable(annual salary) which cause error in while loop. Anyway, thank you for your answer :D
30th May 2017, 2:15 PM
hahaha
hahaha - avatar