Question 1 of 30
In a programming scenario, you are tasked with evaluating a series of conditions to determine if a user is eligible for a discount based on their membership status and purchase history. The conditions are as follows: A user is eligible for a discount if they are a premium member or if they have made more than 10 purchases in the last year. You are given the following boolean expressions:
`is_premium_member` (True if the user is a premium member, False otherwise)
`purchase_count` (an integer representing the number of purchases made in the last year)
need to write a boolean expression that accurately reflects the eligibility criteria. Which of the following expressions correctly represents the eligibility for the discount?
`is_premium_member or purchase_count > 10`

Preparing for Microsoft 98-381 Introduction to Programming Using Python? Now land the interview.

73% of qualified candidates get rejected because of weak resumes. Build an ATS-optimized, recruiter-ready resume in under 5 minutes - free to start.

Build My Resume Free