Notes- Day 1 with Calculator

 print("******Calculator******\nby DPKART")

print("Type the numbers")

print ("Lets's Start")

a=560

b=2240

print(a)

print(b)

print("First Number" ,a)

print("Second Number" ,b)

#+ || 

print("\t+\t ||\t",a+b)

print("\t-\t ||\t",a-b)

print("\t*\t ||\t",a*b)

print("\t/\t ||\t",a/b)

print("Below is the text version of the calculator")

print("Every time you want results run the same code again & again")

print("Let's add both of them",a+b)

print("Substracting the second from first",a-b)

print("multiplying=",a*b)

print("Dividing the first with second",a/b)

print("Every time you want results run the same code again & again")

Comments

Popular posts from this blog

Type Casting