CJCoding With Joseph
15free / daySign inCreate account
← Back to Question List
Python Code Walkthrough #7

Which Branch Runs First

easyIf Statements

📄 Code

Read carefully — what does this print?
1mark: int = 85
2if mark >= 50:
3 print('pass')
4elif mark >= 80:
5 print('distinction')
6else:
7 print('fail')
8print('graded')

🎯 Your Answer