Python Code:

# Step 1: Create variables

score = 75

passing_score = 50


# Step 2: If-else statement

if score >= passing_score:

    print("You passed!")

else:

    print("You need to retake the test.")