(Python)Arithmetic operators example
a = int(input("Enter first number: ")) b = int(input("Enter second number: ")) c=a+b //Addition d=a-b //Subtraction e=a*b //Multiplication f=a/b //Division g=a%b //Modulus h=a**b //exponential print(c) print(d) print(e) print(f) print(g) print(h)
Comments
Post a Comment