0
Having an Issue with Too Young To Ride challenge In Python
Hi, I've been stuck on this challenge for the last two days and it's starting to frustrate me. The prompt: The carousel is designed for 3 people who are each at least 16 years old. You are given a program that takes all 3 passengers' ages as inputs and inserts them in a list. Complete the program so that if it finds a value less than 16, it breaks the loop and outputs "Too young!". If the age requirement is satisfied, the program outputs "Get ready!". Here is my code: https://code.sololearn.com/cbX3NysN2Pl3/#py This passes all but one test case in the problem. I can't seem to find what the issue is, though.
2 Answers
+ 1
Thank you for your help! It worked. :)
0
@ravilnicki That's what I tried originally. But it still ends up failing 2/5 test cases. I changed my code to reflect this more accurate solution.