In SoloLearn we only get one chance for providing inputs necessary for our program to run. Therefore for that code which require 2 inputs, when input dialog. comes up, enter the name at first line, and favourite colour at second line, for example
Then hit the submit button.
Here's an intro code on how SoloLearn Playground input works