Skip to content

Instantly share code, notes, and snippets.

View letuananh's full-sized avatar
🎯
focusing on jamdict 0.1 stable release

Lea Tuan Anh Le letuananh

🎯
focusing on jamdict 0.1 stable release
View GitHub Profile
number = 23
running = True
while running:
guess = int(input('Enter an integer : '))
if guess == number:
print ("Congratulations, you guessed it.")
running = False # this causes the while loop to stop
elif guess < number:
print ("No, it is a little higher than that.")