Apr-19-2018, 10:23 PM
Hello,
Do you want that when you input 1, the loop condition doesn't acomplish?
I said that you are comparing a char (input()) with an integer 1. Then you can cast to int the returned value of the input() function.
My English level is not good. I explained myself well?
Do you want that when you input 1, the loop condition doesn't acomplish?
while n != 1:Then, if you input 1, there should not be any print at the output. Not?
I said that you are comparing a char (input()) with an integer 1. Then you can cast to int the returned value of the input() function.
My English level is not good. I explained myself well?