Completely stuck on Ayah's students

Please can someone help with Ayah’s students, I just can’t seem to grasp it or move on.

Any help would be greatly appreciated.

Regards

2 Likes

image

Waiting i can help you.

Rgd

1 Like

Thank you so much, I knew what I needed to put but not how I cannot thank you enough x

Please I’m same problem you been through before please help me out

Hi,

The argument in function needsAdulTicket in your code is ‘n’. I think you must change the line if(element[‘age’]>12) by if(element[‘n’]>12

Please, let me know if this works fine!.

Rgds

Hi please i tried but it didn’t work

I think that the strin ‘name’ has an extra space at the end.

Try to erase this space and please, let me know if this works.

Rdgs

Thank you very much Jose i got it

Ok
Happy you get It!