x=12y=10x0 = xy0 = yif x > y : x = 2*x0*y0 y = (x0+y0)/2else : y = 2*x0*y0 x = (x0+y0)/2print("x=",x)print("y=",y)
Standard input is empty
x= 240 y= 11.0
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!