Code problem | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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

21st Feb 2020, 5:57 PM
PHOBOS
PHOBOS - avatar
4 Answers
+ 3
fails for @@22abcde works for @!12abcde Maybe your code has troubles with duplicate specials/numbers.
21st Feb 2020, 6:30 PM
Denise Roßberg
Denise Roßberg - avatar
+ 3
it is said two special chars.I think u understood 2 DIFFERENT special chars.
21st Feb 2020, 6:47 PM
Oma Falk
Oma Falk - avatar
+ 1
Thx, Denise. Now it works.
21st Feb 2020, 7:07 PM
PHOBOS
PHOBOS - avatar
+ 1
"...2 of the following special characters ('!', '@', '#', '
#x27;, '%', '&', '*')..." - I would say that that wording is a tad confusing and could certainly be interpreted to mean two different special characters.
22nd Feb 2020, 8:30 AM
Russ
Russ - avatar