0% found this document useful (0 votes)
2 views1 page

Python Arithmetic Operations Script

Uploaded by

Ajeesh
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views1 page

Python Arithmetic Operations Script

Uploaded by

Ajeesh
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

from addition import add

from subtraction import subtract


from multiplication import multiply
from division import divide

def main():
print("=== Arithmetic Operations ===")
a = float(input("Enter first number: "))
b = float(input("Enter second number: "))

print(f"Sum: {add(a, b)}")


print(f"Difference: {subtract(a, b)}")
print(f"Product: {multiply(a, b)}")
print(f"Quotient: {divide(a, b)}")

if __name__ == "__main__":
main()

You might also like