4) If Else
Use a condition to decide which message to display.
All Topics
Run Program
Python Code
marks = 85 if marks >= 60: print("Passed") else: print("Try again")
Program Input (optional)
Output