p = 1i = 3 while i <= 9: p += (i / 2) i = i + 1 print(p)
Standard input is empty
22.0
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!