0% found this document useful (0 votes)
53 views1 page

Online Python Compiler (Interpreter)

The document contains a simple Python program that prompts the user to input two numbers. It calculates the sum of these numbers and prints the result. The code demonstrates basic input handling and arithmetic operations in Python.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
53 views1 page

Online Python Compiler (Interpreter)

The document contains a simple Python program that prompts the user to input two numbers. It calculates the sum of these numbers and prints the result. The code demonstrates basic input handling and arithmetic operations in Python.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Python

Python Online Certification



Compiler

main.py Save Run Shell Clear

1 num1 = int(input("Enter the first number")) Enter the first number101


2 num2 = int(input("Enter the second number")) Enter the second number201
3 sum = num1 + num2 the sum of th numbers is 302
4 print("the sum of th numbers is",sum) >

You might also like