Mack
Level 20
Osiedle-Nowiny
Output looks good only if the 10 numbers match the task descriptionHello there,
If i input the numbers as in the task description the output is right (3) , but if I enter: 1,2,3,4,5,6,7,7,7,7 the "sequences" list only has [1,1,1,1,1,1] in it so the output is is going to be wrong. Don't see where my mistake is.
Thanks in advance! Help needed! Why is the output this:
[Name: jose, sex: male, age: 55, children: jose, maria, Name: maria, sex: female, age: 56, children: jose, maria]
[Name: mario, sex: male, age: 57, children: jose, maria, Name: ze, sex: female, age: 54, children: jose, maria]
[Name: gaspar, sex: male, age: 35, children: mari