0

value Overflow?

is there anything like an Overflow or limits to numbers, strings etc.

29th Jun 2016, 4:19 PM
Loeschzwerg
2 Réponses
+ 2
it calculated for me 50000^500, so i think yours calculation wont hit overflow :)
29th Jun 2016, 11:10 PM
Nikola Pesic
Nikola Pesic - avatar
+ 1
Not sure if this is what you mean, but here's an example of a limit to what a user inputs using a "while" loop and an "if" statement to alert the user they exceeded the limit. " i = 1 while i <= 5: user_input = input('Enter: ') i += 1 if i >= 5: print('STOP! User limit exceeded') "
29th Jun 2016, 10:11 PM
Dean