num1 = 1.5num2 = 6.3sum = num1 + num2print('The sum of {0} and {1} is {2}'.format(num1, num2, sum))
Standard input is empty
The sum of 1.5 and 6.3 is 7.8
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!