- 1

My code doesn't work?

It worked in the playground, but not in the trainer. Where can be the mistake? https://code.sololearn.com/cDqg5Wlpb2TU/?ref=app

6th Jan 2022, 6:27 PM
Laura Melguizo
Laura Melguizo - avatar
2 ответов
+ 2
1.) Do not put anything inside the given input() function 2.) Do not print anything if score < 80
6th Jan 2022, 6:34 PM
Lisa
Lisa - avatar
+ 2
Laura Melguizo Lisa is right. Please before checking don't dislike answer. Test Cases results only accept final value so you should not write your own text. Here is solution: score=int(input()) #print (score) if score >= 80: print ("certificate") if score >= 90: print ("admitted")
6th Jan 2022, 6:54 PM
A͢J
A͢J - avatar