Basic Maths Addition,Subtraction,Multiplication,Division,Remainder Etc.

 while True:
    print()
    print("Welcome Basic Maths Caculator")
    print()
    try:
        a = int(input("Enter the Number of A : "))
        print()
        b = int(input("Enter the Number of B : "))
        print("\nAnswers : -")
        print("\nTotal : ",a+b)
        print()
        print("Difference : ",a-b)
        print()
        print("Product : ",a*b)
        print()

        print("\nQuotient : ",a/b)
        print()
        print("Whole Number : ",a//b)
        print()
        print("Remainder : ",a%b)
        print()
        print("Divisor : ",b)
        print()
        print("Dividend : ",a)
        print()
        
    except Exception:
        print("\nError : Enter Number Only")

Comments

Popular posts from this blog

The best widgets on Windows 11