Python Calc Project
Hi guys, I made a Python Calculator Project today and I hope it would be useful for you and your friends and family. I will share the code below and before that please view my Python coding series to Learn python if you want to learn. Python is very easy to learn the language and to know more about it please click.
So here is the Code,
import time
print("Welcome to the calculator and you are at the right place to calculate. Enter your number and calculate")
time.sleep(5)
print("Addition:")
a = int(input("Enter First Number:"))
b = int(input("Enter Second Number:"))
c = a+b
print(c)
time.sleep(2)
print("Subtraction:")
d = int(input("Enter First Number:"))
e = int(input("Enter Second Number:"))
f = d-e
print(f)
time.sleep(2)
print("Multiplication:")
g = int(input("Enter First Number:"))
h = int(input("Enter Second Number:"))
i = g*h
print(i)
time.sleep(2)
print("Division:")
j = int(input("Enter First Number:"))
k = int(input("Enter Second Number:"))
l = j/k
print(l)
Please Copy the Code and Run to see the calculator work.
This Calculator works well and was written in the DATALORE app.
Hope you enjoyed the Code and the Project. Please share this with your friends and family.
See you again on some interesting projects again, Until then Bye!
By the Blog Author
6 Comments
HI MIC
ReplyDeleteHI
ReplyDeleteHi Unknow, Do you like to learn Python and visit my projects? Well, check out my other Posts.
ReplyDeleteok mic i want to learn
ReplyDeleteSee my other posts then
Deleteok
ReplyDelete