0

Why isn't my code showing username?

as you can see, code shows stored password but it isn't showing username (or maybe not even getting string from file). why is this happening? thanks for your time. contents of the file are like: xyzxyz xyzpass https://code.sololearn.com/cavXfjx9Ut8A/?ref=app

9th Jun 2017, 12:02 PM
anonymous
4 odpowiedzi
0
i think that your gotoline2() function is returning a string which u should store and then display it. but u are not storing the value of string returned by the function anywhere
9th Jun 2017, 12:24 PM
NIKHIL MURARKA
0
@nikhil I didn't get that. Can you elaborate more?
9th Jun 2017, 12:39 PM
anonymous
0
the gotoline2() function is returning a string . when u are calling the gotoline2() function inside check() function it should store the value of the string returned by gotoline2() function in some string which u are not doing.
9th Jun 2017, 1:02 PM
NIKHIL MURARKA
0
@nikhil okay, i gotcha. how do you think i should do that? what part of code should I modify?
9th Jun 2017, 1:09 PM
anonymous