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

22nd Oct 2020, 7:05 AM
NIMA
NIMA - avatar
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")
22nd Oct 2020, 7:09 AM
Abhay
Abhay - avatar
Hot today
.
1 Votes
What?
0 Votes
HTML
0 Votes
Web
0 Votes
Quiz duel
0 Votes
FRC Coding?
1 Votes
AI
2 Votes
help
0 Votes
APIs
1 Votes