How do I get input into my program from the security challenge? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do I get input into my program from the security challenge?

I tried using sys.argv, but all I got was the filename of the script. Using the input library also yielded nothing.

13th May 2020, 1:38 AM
Allen Nelson
Allen Nelson - avatar
2 Answers
+ 1
Just seconds or minutes afterwards, I figured out that I need to use input(). However, one of the test cases is hidden. It fails, and I can't figure out why.
13th May 2020, 1:46 AM
Allen Nelson
Allen Nelson - avatar
+ 1
No, I just solved the challenge. I unlock the solver badge.
13th May 2020, 1:49 AM
Allen Nelson
Allen Nelson - avatar