Calculator


print("enter your first number")
num1 = int(input())
print("enter your second number")
num2 = int(input())
print("the product of num1 and num2",num1*num2)

operator = input("Enter operator:")
val1 = int(input("Enter first number = "))
val2 = int(input("Enter second number = "))
print (int("sum of val1 and val2"))


Comments

Popular posts from this blog

Python File IO Basics

Break & Continue Statements In Python