If they do type just the letter 'q', then that break statement runs and the infinite loop stops. while True: word = input('Enter a string and I will print it ...
確定! 回上一頁