+ 2

Challenge not working: The Spy Life, Python

I am trying to do this challenge mostly just for fun, but now I have a problem: the challenge doesn’t say how to input the decoded message into the program. I even printed the output of locals() to try and see if there was a variable already set up. Here is my code... https://sololearn.com/coach/55/?ref=app

10th Feb 2021, 2:36 AM
Wilbur Jaywright
Wilbur Jaywright - avatar
6 Antworten
+ 3
The input message is saved in the input buffer. Just use input().
10th Feb 2021, 2:44 AM
你知道規則,我也是
你知道規則,我也是 - avatar
+ 3
Wilbur Jaywright Then maybe you'd benefit from reviewing the lessons.
10th Feb 2021, 3:35 AM
ChaoticDawg
ChaoticDawg - avatar
+ 2
The input for the challenges (unless otherwise specified) is received in the same manner in which input would be received in the SL playground. As CarrieForle stated you use the input() function.
10th Feb 2021, 2:51 AM
ChaoticDawg
ChaoticDawg - avatar
+ 2
I figured it would be the same as the SoloLearn playground since I didnt know they were different, but I didn’t know anything about how the SoloLearn playground would receive it [either].
10th Feb 2021, 3:02 AM
Wilbur Jaywright
Wilbur Jaywright - avatar
+ 2
i learned python from a different course entirely
10th Feb 2021, 6:22 AM
Wilbur Jaywright
Wilbur Jaywright - avatar
+ 1
Yay! 😁
10th Feb 2021, 3:01 AM
Wilbur Jaywright
Wilbur Jaywright - avatar