+2

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

PHOBOS

4 Answers

New Answer

+3

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

+3

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

+1

Thx, Denise. Now it works.

+1

"...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.