Skip to main content

taking input from user and doing arithmetic operations

 '''print("Enter your name")

a=input()
print("hello ",a)'''


'''print("Enter number")
a=float(input() ) # here input a stores str
print("enter number")
b=float(input()) # here input b stores str
print("the sum is",float(a)+float(b)+10)
print("the difference is",float(a)-float(b)+10)
print("the product is",float(a)*float(b)+10)
print("the quotient is",float(a)/float(b)+10)'''

Comments