Post History
Python 2, 13 bytes exec'+1'*5**9 Try it online! No idea why this works. Something in the Python expression parser?
Answer
#2: Post edited
# [Python 2], 15 bytes- <!-- language-all: lang-python -->
exec'+1'*999999[Try it online!][TIO-khr5ubcn]- No idea why this works. Something in the Python expression parser?
- [Python 2]: https://docs.python.org/2/
[TIO-khr5ubcn]: https://tio.run/##K6gsycjPM/r/P7UiNVld21BdyxIM/v8HAA "Python 2 – Try It Online"
- # [Python 2], 13 bytes
- <!-- language-all: lang-python -->
- exec'+1'*5**9
- [Try it online!][TIO-khr5xera]
- No idea why this works. Something in the Python expression parser?
- [Python 2]: https://docs.python.org/2/
- [TIO-khr5xera]: https://tio.run/##K6gsycjPM/r/P7UiNVld21Bdy1RLy/L/fwA "Python 2 – Try It Online"
#1: Initial revision
# [Python 2], 15 bytes <!-- language-all: lang-python --> exec'+1'*999999 [Try it online!][TIO-khr5ubcn] No idea why this works. Something in the Python expression parser? [Python 2]: https://docs.python.org/2/ [TIO-khr5ubcn]: https://tio.run/##K6gsycjPM/r/P7UiNVld21BdyxIM/v8HAA "Python 2 – Try It Online"