+ 1

Why my code is not working?(Python3)

My code fails the test "Secret message"(Python) https://code.sololearn.com/c2VY3kO6BLpI/?ref=app

20th Jun 2020, 3:05 PM
kap d
kap d - avatar
8 Respuestas
+ 1
1. Clear out the input parameter. 2. Add (space) : (space) in dictionary. ( " " : " " ) It works because there are spaces too in input conditions.
20th Jun 2020, 3:23 PM
Valmob101
Valmob101 - avatar
+ 1
kap d Perhaps you should decide what to do with spaces and special characters. In other words (a hint) - with the string's elements which are *not* the keys of the dictionary.
20th Jun 2020, 3:24 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
0
In line 9, I translate an existing line into lower case
20th Jun 2020, 3:09 PM
kap d
kap d - avatar
0
The code does not pass the verification but the output is correct
20th Jun 2020, 3:10 PM
kap d
kap d - avatar
0
Thank you all
20th Jun 2020, 3:31 PM
kap d
kap d - avatar
21st Jun 2020, 8:17 PM
Faisal Shaikh