Python - Basic Math Tutorial

Learn how to code using the - * / symbols to solve simple math problems in Python. ~ CODE ~ # Addition x = int(input(“Enter the first number: “)) y = int(input(“Enter the second number: “)) total = str(x y) print(“The addition of those 2 numbers is “ total) print() # Subtraction x = int(input(“Enter the first number: “)) y = int(input(“Enter the second number: “)) total = str(x - y) print(“The subtraction of those 2 numbers is “ total) print() # Multiplication x = int(input(“Enter the first numb
Back to Top