def howmanyint(): sum = 0 i = 0 while sum <= 100: i += 1 sum = sum + i return i print(howmanyint())
Standard input is empty
14
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!