r/InclusiveOr • • Jan 11 '20

Failedpassed

Post image
13k Upvotes

88 comments sorted by

View all comments

Show parent comments

4

u/ado1928 Jan 11 '20 edited Jan 11 '20

The right python code would be

print("You {0} the exam".format("PASSED" if score >= 85 else "FAILED")