This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# These two code works for assignment 5.2 python for everybody | |
# code 1 | |
largest = None | |
smallest = None | |
while True: | |
num = input("Enter a number: ") | |
if num == "done": | |
break |