# Getting an error again and again despite being correct

**URL:** <https://forum.freecodecamp.org/t/getting-an-error-again-and-again-despite-being-correct/799905>\
**Category:** freeCodeCamp Support\
**Tags:** python\
**Created:** [September 10, 2026, 2:45pm UTC](https://forum.freecodecamp.org/t/getting-an-error-again-and-again-despite-being-correct/799905 "2026-09-10T14:45:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sharmachandrakesh42](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/sharmachandrakesh42/32/421395_2.png) [@sharmachandrakesh42](https://forum.freecodecamp.org/u/sharmachandrakesh42)\
**Post date:** [September 10, 2026, 2:45pm UTC](https://forum.freecodecamp.org/t/getting-an-error-again-and-again-despite-being-correct/799905/1 "2026-09-10T14:45:42Z")

</div>

if age \>= 21 or age \>= 18 and (show\_time != ‘Evening’ or is\_member):  
print(‘Ticket booking condition satisfied’)

```auto
service_charges = 0
if seat_type == 'Premium':
    service_charges = 5
elif seat_type == 'Gold':
    service_charges = 3
else:
    service_charges = 0

# This should line up exactly with the 'if', 'elif', and 'else'
print('Service charges:', service_charges)

```

---

<div class="post-metadata">

**Author:** ![dhess](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/dhess/32/406235_2.png) [@dhess](https://forum.freecodecamp.org/u/dhess)\
**Post date:** [September 10, 2026, 3:11pm UTC](https://forum.freecodecamp.org/t/getting-an-error-again-and-again-despite-being-correct/799905/2 "2026-09-10T15:11:08Z")

</div>

Welcome to the forum @sharmachandrakesh42,

In the future,iIf you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the **Help** button located on the challenge.

 ![image](https://global.discourse-cdn.com/freecodecamp/original/4X/9/e/5/9e5d03b4b54808931538e1c967c26d4fe89eb76a.png)

The **Help** button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

* * *

[Build a Movie Ticket Booking Calculator: Step 20 | freeCodeCamp.org](https://www.freecodecamp.org/learn/python-v9/workshop-movie-ticket-booking-calculator/step-20)

> [@sharmachandrakesh42](#):
>
> ```auto
> else:
> service_charges = 0
> 
> ```

You have changed the starting code. Please reset this step and try again, being careful to only make the changes asked.
