+ 1

Why it doesen't pass the test cases..?

There are 2 test cases that won't pass... Why? https://code.sololearn.com/cdrkLq46w369/?ref=app

25th Feb 2020, 11:53 PM
ztonaz
ztonaz - avatar
6 ответов
+ 2
ztonaz Just comment line 28, you don't have to remove duplicates.(like Alexandr said) And line 46 first condition should be len(inputlist) >= 7
26th Feb 2020, 6:34 AM
Mihai Apostol
Mihai Apostol - avatar
+ 2
ztonaz I checked with line 28 removed and line 46 modified like I said above and I passed all.
26th Feb 2020, 8:45 AM
Mihai Apostol
Mihai Apostol - avatar
+ 1
Thanks for your time but I still have 2 or 4 cases that won't pass https://code.sololearn.com/cdrkLq46w369/?ref=app
26th Feb 2020, 6:11 AM
ztonaz
ztonaz - avatar
+ 1
Oh Yeah... It works... Thank you
26th Feb 2020, 9:24 AM
ztonaz
ztonaz - avatar
+ 1
ztonaz You're welcome.
26th Feb 2020, 9:26 AM
Mihai Apostol
Mihai Apostol - avatar
0
I updated my code but I still have 2 cases not resolved
26th Feb 2020, 8:27 AM
ztonaz
ztonaz - avatar