How to create a simple calculator using python

x = int(input("Enter the first number: "))y = int(input("Enter the second number

Created By :

Created On :

18-03-2024

How to create a simple calculator using python

Updated on 24, February 2024 293 Enrolled
how to

Step 1

x = int(input("Enter the first number: "))

y = int(input("Enter the second number: ")) print("Sum:", x + y)

print("Difference:", x - y)

print("Product:", x * y)

print("Quotient:", x / y)

line

Copyrights © 2024 letsupdateskills All rights reserved