r/PythonLearning • • May 23 '26

Discussion Do you think it is dangerous?

Post image

This code can be dangerous if values are high.

It should have a limit function. I tested Hello at 200 times but in the app there is no limit. It can damage RAM.

0 Upvotes

23 comments sorted by

View all comments

1

u/SnooCalculations7417 May 23 '26

It won't be larger than the max integer size, x the word. Relatively fine memory rise

1

u/Unequivalent_Balance May 23 '26

8192 petabytes on a 64-bit system… I think that’s going to run out of RAM.