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)

9th Jul 2020, 12:21 PM
Sumanth
Sumanth - avatar
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
9th Jul 2020, 12:24 PM
Slick
Slick - avatar
0
I know the output but i also need to know the reason behind the output explain me that.....
10th Aug 2020, 3:47 AM
Sumanth
Sumanth - avatar
0
The reason? It all seems pretty straightfoward. What are you having trouble with?
10th Aug 2020, 7:38 AM
Slick
Slick - avatar