+ 3
What should be the error or why it is showing me No output ?
27 odpowiedzi
+ 4
def Calcgetmin():
n1=int(input("Enter n1 : "))
n2=int(input("Enter n2 : "))
if n1>n2:
print("small=",n2)
else:
print("small=",n1)
Calcgetmin ()
Don't indent the last line.
+ 6
Thnx a lot 😊
+ 5
Sparshika Verma No need to change anything. Just write `Calcgetmin()` on line 8 and run it.
+ 4
Yes
+ 3
It shows me error in line 2
+ 3
and thereafter it shows me no output.
+ 3
maybe @paul
+ 3
yup! I think playground isn't working properly now. @ zubair
+ 3
I'll try after some time.
+ 3
i have tried this too.
+ 3
You defined the function but you did not call it.
+ 3
it shows me no output.
+ 3
Add `Calcgetmin()` to line 8.
+ 3
Is it ok now ?
+ 3
Sparshika Verma Why don't you try it yourself?
+ 3
I ain't be so much foolish 😶 I really press Run ...
+ 3
Anyway😐 Thnx a lot 😊
+ 2
I think the playground doesn't work now.
+ 2
Sparshika Verma Beside SL problem, your code dont output nothing if yoi dont call the function 😉