Arithmetic Calculator In Python || Python Program || Arithmetic Operators In Python

Published: 07 February 2023
on channel: Aim Computer Academy
34
3

In this video we have explain the Arithmetic Calculator

Code
#Arithmetic Calculator
ch='y'
while(ch=='y' or ch=='Y'):
print("Enter two numbers : ")
n1=int(input())
n2=int(input())
print("1-Addition")
print("2-Subtraction")
print("3-Multiplication")
print("4-Division")
print("5-Modulus")
print("Enter your choice : ")
choice=int(input())
if choice==1:
print("Addition : ",n1+n2)
elif choice==2:
print("Subtraction : ",n1-n2)
elif choice==3:
print("Multiplication : ",n1*n2)
elif choice==4:
print("Division : ",n1/n2)
elif choice==5:
print("Modulus : ",n1%n2)
else:
print("Invalid Entry")
print("Would you like to run the program again(Y/N)")
ch=input()


Please subscribe our YouTube channel and click on bell Icon.

Follow us on Instagram :   / aimcomputeracademydigboi  
Join our Facebook group :   / 536687250112679  
Like our Facebook page :   / aim-ambition-in-mind-147598225929076  
#python #python3 #pythonforbeginners #pythontutorial


On this page of the site you can watch the video online Arithmetic Calculator In Python || Python Program || Arithmetic Operators In Python with a duration of hours minute second in good quality, which was uploaded by the user Aim Computer Academy 07 February 2023, share the link with friends and acquaintances, this video has already been watched 34 times on youtube and it was liked by 3 viewers. Enjoy your viewing!