+ 1

The spy life problem

I, ve been trying to solve this problem here in the app, but when a run, the output is not the same. Take a look in the list a_, the last item is a space " ", the output space is shorter than my keyboard space. https://code.sololearn.com/cVGL4I19wIzr/?ref=app

11th Feb 2020, 12:43 AM
Arthur Barbosa
Arthur Barbosa - avatar
11 Réponses
+ 6
The list "a_new" has two space characters and so they both get printed. print(a_new) # ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'Y', 'Z', ' ', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'y', 'z', ' '] This challenge only uses lowercased letters, so you can simply do: answer = decody(coder,a_)
11th Feb 2020, 12:54 AM
Diego
Diego - avatar
11th Feb 2020, 1:31 AM
Kosarevsky Dmitry
Kosarevsky Dmitry - avatar
+ 3
Kosarevsky Dmitry You can tell the solution but can't share code coach problem because other people also need to learn coding.
11th Feb 2020, 2:32 AM
A͢J
A͢J - avatar
+ 3
Jay This is not right place for Advertisement.
11th Feb 2020, 4:03 PM
A͢J
A͢J - avatar
+ 2
No-one can solve your problem because here all people who won matches by 5 . They learned answer of nd they think they are intelligent .i posted one question and all people's said after seen my question i am very busy now.😜😜😜😜😜😜
12th Feb 2020, 3:07 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 1
Thanks! The problem was the double space!
11th Feb 2020, 1:27 AM
Arthur Barbosa
Arthur Barbosa - avatar
+ 1
Kosarevsky Dmitry Yes you can share but other people may copy your code to solve their problem but they will never learn coding. What do you think?
11th Feb 2020, 6:14 AM
A͢J
A͢J - avatar
+ 1
Kosarevsky Dmitry Good Thought. 😂😂
11th Feb 2020, 6:17 AM
A͢J
A͢J - avatar
0
🅰🅹 - Sʀ. Sᴏғᴛᴡᴀʀᴇ Eɴɢɪɴᴇᴇʀ I can share. Why not? If people want to study, they will study. Including they will independently, without prompting, study algorhythms and read documentation.
11th Feb 2020, 6:01 AM
Kosarevsky Dmitry
Kosarevsky Dmitry - avatar
11th Feb 2020, 6:15 AM
Kosarevsky Dmitry
Kosarevsky Dmitry - avatar