largest = None smallest = None while True: try: num = raw_input("Enter a number: ") if num == "done": break print (num) num = int(num) if largest is None or largest num: smallest = num except: print("Invalid input") print ("Maximum is", largest) print ("Minimum is", smallest)
Answers
Answered by
3
Answer:
mate not clear.
only coding is there
Similar questions
Social Sciences,
4 months ago
English,
4 months ago
Science,
4 months ago
Computer Science,
9 months ago
Math,
9 months ago
English,
1 year ago