USING SCRIPT

 3-WRITING SCRIPT

##Addition of two numbers

Num1=int(input("enter a number"))

Num2=int(input("enter a number"))

print(Num1+Num2)


Example below:-


Python 3.9.1 (tags/v3.9.1:1e5d33e, Dec  7 2020, 17:08:21) [MSC v.1927 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
>>> 
=========================================================== RESTART: E:/LEARNING PYTHON/ADDITION ===========================================================
enter a number786586758347
enter a number7654735687346
8441322445693
>>> 

Comments

Popular posts from this blog

XAMPP, SQL BASIC COMMANDS

The Minion Game Hackerrank Solution

Arrays - DS | HackerRank Solutions