Python Online Compiler / IDE / Interpreter

# You can modify below code or write any Python code in here and run. # Python program to add two numbers num1 = 18 num2 = 11 # Adding two numbers sum = num1 + num2 # print sum print("The sum of {0} and {1} is {2}" .format(num1, num2, sum))
Just press 'Run'.

Note: It takes few seconds after you press run for the first time.