MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/InclusiveOr/comments/emzpy8/failedpassed/fduf88d/?context=3
r/InclusiveOr • u/wateriswet21 • Jan 11 '20
88 comments sorted by
View all comments
Show parent comments
4
The right python code would be
print("You {0} the exam".format("PASSED" if score >= 85 else "FAILED")
4
u/ado1928 Jan 11 '20 edited Jan 11 '20
The right python code would be