+ 3

What should be the error or why it is showing me No output ?

https://code.sololearn.com/cPS3WssJYPRJ/?ref=app

2nd Oct 2018, 1:17 PM
Sparshika
Sparshika - avatar
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.
2nd Oct 2018, 1:34 PM
Paul
Paul - avatar
+ 6
Thnx a lot 😊
14th Oct 2018, 4:32 AM
Sparshika
Sparshika - avatar
+ 5
Sparshika Verma No need to change anything. Just write `Calcgetmin()` on line 8 and run it.
2nd Oct 2018, 1:34 PM
Eduardo Petry
Eduardo Petry - avatar
+ 4
Yes
2nd Oct 2018, 1:36 PM
Paul
Paul - avatar
+ 3
It shows me error in line 2
2nd Oct 2018, 1:27 PM
Sparshika
Sparshika - avatar
+ 3
and thereafter it shows me no output.
2nd Oct 2018, 1:27 PM
Sparshika
Sparshika - avatar
+ 3
maybe @paul
2nd Oct 2018, 1:27 PM
Sparshika
Sparshika - avatar
+ 3
yup! I think playground isn't working properly now. @ zubair
2nd Oct 2018, 1:30 PM
Sparshika
Sparshika - avatar
+ 3
I'll try after some time.
2nd Oct 2018, 1:30 PM
Sparshika
Sparshika - avatar
+ 3
i have tried this too.
2nd Oct 2018, 1:32 PM
Sparshika
Sparshika - avatar
+ 3
You defined the function but you did not call it.
2nd Oct 2018, 1:32 PM
Eduardo Petry
Eduardo Petry - avatar
+ 3
it shows me no output.
2nd Oct 2018, 1:32 PM
Sparshika
Sparshika - avatar
+ 3
Add `Calcgetmin()` to line 8.
2nd Oct 2018, 1:33 PM
Eduardo Petry
Eduardo Petry - avatar
2nd Oct 2018, 1:36 PM
Sparshika
Sparshika - avatar
+ 3
Is it ok now ?
2nd Oct 2018, 1:36 PM
Sparshika
Sparshika - avatar
+ 3
Sparshika Verma Why don't you try it yourself?
2nd Oct 2018, 1:37 PM
Eduardo Petry
Eduardo Petry - avatar
+ 3
I ain't be so much foolish 😶 I really press Run ...
2nd Oct 2018, 1:42 PM
Sparshika
Sparshika - avatar
+ 3
Anyway😐 Thnx a lot 😊
2nd Oct 2018, 1:43 PM
Sparshika
Sparshika - avatar
+ 2
I think the playground doesn't work now.
2nd Oct 2018, 1:26 PM
Paul
Paul - avatar
+ 2
Sparshika Verma Beside SL problem, your code dont output nothing if yoi dont call the function 😉
2nd Oct 2018, 1:30 PM
KrOW
KrOW - avatar