Bug in app

Never mind. It has been explained to me how it actually works. My mistake :sweat_smile:
Here, have a picture of a kitten instead:


if we follow the steps of the program:

random_number = 5
random_number = 5 + 1 # 6
random_number = 5 - 3 # 3

now random number is 3, three isnโ€™t divisible by 0, so the exception occurs.

random_number contains the value 3 (thanks to the math done), 3**2 is 9. I donโ€™t see any bug?

Operations done before the exception occurs persist.


oh god. Sorry :smile: not a bug in the app but a lack of understanding on my part :sweat_smile: ignore this please