4 ms·You can replace `while 1:` with `for x in iter(int, 1):` .by drdeca 11mo agoYou can replace `while 1:` with `for x in iter(int, 1):` .