0
How interpreter gives o/p reason behind the o/p?
def sub(x,y): return x-y def sub(x,y): return x/y a = int(input("first number: ")) b = int(input("second number: ")) c = sub(a,b) print(c)
3 Answers
+ 1
-pop that baby in the playground
-hit run
-type any two numbers on seperate lines like so:
4
6
-hit submit
Theres no way we could know the answer to that. it requires user inputted numbers
0
I know the output but i also need to know the reason behind the output explain me that.....
0
The reason? It all seems pretty straightfoward. What are you having trouble with?