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
На этой странице сайта вы можете посмотреть видео онлайн Arithmetic Calculator In Python || Python Program || Arithmetic Operators In Python длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Aim Computer Academy 07 Февраль 2023, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 34 раз и оно понравилось 3 зрителям. Приятного просмотра!