Let's see what this looks like in a while loop tasked with collecting an integer input. while True: try: num = int(input("Enter an int: "))
確定! 回上一頁