Question #220640

write a program that keeps taking input(integers)until the user enters-1(use while or do-while loop) in python loop


Expert's answer

i=0
while i != 1:
    i = int(input("enter an integer"))

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS