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