Sorry for rotor malfunction cheating... It was a fixture in order to see next tests... It is fixed in my newer solution.
I've got the same message.
If I write as first instruction:
def whoIsNext(names, r): print(r, names)
I get:
2 ['Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny'.....
Second drinker should be Penny, not Leonard... So what is wrong?
Loading collection data...
Sorry for rotor malfunction cheating... It was a fixture in order to see next tests... It is fixed in my newer solution.
I've got the same message.
If I write as first instruction:
def whoIsNext(names, r):
print(r, names)
I get:
2 ['Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny', 'Penny'.....
Second drinker should be Penny, not Leonard...
So what is wrong?