0
How this code can be re-writed?
How is possible to not use True/False and replace this code logic with break/continue? https://code.sololearn.com/cJpzuKsLw9tH/#py
1 Answer
+ 1
while True:
guess = int(input("Enter an integer: "))
if guess==number:
print("Yes, That's True")
break
else:
print("Not Trues, Try Again")