Revision 0599dc0c-ff70-4dd1-9a00-530d29d71624 - Code Golf Stack Exchange

## Python 2, 29 bytes

<!-- language-all: lang-python -->

 a=input()
 while 1:print a;1/a

This terminates with a division error on `0`, which is [allowed by default][1].


 [1]: https://codegolf.meta.stackexchange.com/a/4781/20260

AltStyle によって変換されたページ (->オリジナル) /