money = 0.01days = 0while(money < 1000000): money *= 2 days += 1print days
Standard input is empty
27
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!