Please use spoiler flag when you post code.
Please use markdown format tags or it's unreadable, see there: https://docs.codewars.com/training/troubleshooting/#post-discourse
You need to return the result, not print it.
Because your function should return the result. Read this: https://docs.codewars.com/training/troubleshooting/
The input is passed to your function as an argument:
def tickets(people): #people contains the list passed to your function return "?"
Read this: https://docs.codewars.com/getting-started/solving-kata and this: https://docs.codewars.com/training/troubleshooting
Loading collection data...
Please use spoiler flag when you post code.
Please use markdown format tags or it's unreadable, see there: https://docs.codewars.com/training/troubleshooting/#post-discourse
You need to return the result, not print it.
Because your function should return the result. Read this: https://docs.codewars.com/training/troubleshooting/
The input is passed to your function as an argument:
Read this: https://docs.codewars.com/getting-started/solving-kata and this: https://docs.codewars.com/training/troubleshooting