Follow

NSFW Pytthon error and code 

>>> s = "Fuck nazis" * 1090000000000000000
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OverflowError: repeated string is too long
>>> s = "Fuck nazis" * 1090000000000000
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
MemoryError
>>> s = "Fuck nazis" * 109000000
>>> len(s)
1090000000

Β· Web Β· 0 Β· 0 Β· 0
Sign in to participate in the conversation
dgplug

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!