2 Answers
+ 1
thx
- 1
use input keyword
example :
a=input("a number ->")
b= input(" another number ->")
c= int(a)+int(b)
## normal input takes everything as a string..u need to convert them as your use..
here i am adding so converted them into unteger using int keyword ##
print(c)
or u can direct do it..
print(int(input("1st number") + int(input("2nd number")