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/
This comment is hidden because it contains spoiler information about the solution
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
I'm doing python and I really dont get it tbh. I have to do input? or add an array as the example shown?
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/
This comment is hidden because it contains spoiler information about the solution
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
I'm doing python and I really dont get it tbh. I have to do input? or add an array as the example shown?