Code problem

I tried to write a programme from challenges, but it passes 11 of 13 tests. I couldn't find a problem myself. Wish you can help me. Problem: https://www.sololearn.com/coach/76?ref=app My code: https://code.sololearn.com/c0H337OPYVCO/?ref=app

2/21/2020 5:57:08 PM


4 Answers

New Answer


fails for @@22abcde works for @!12abcde Maybe your code has troubles with duplicate specials/numbers.


it is said two special chars.I think u understood 2 DIFFERENT special chars.


Thx, Denise. Now it works.


"...2 of the following special characters ('!', '@', '#', '$', '%', '&', '*')..." - I would say that that wording is a tad confusing and could certainly be interpreted to mean two different special characters.