0

Why is this code giving the output of 'I am' even though I am giving the input of either John or Lara?

https://code.sololearn.com/cQvse0mThxOi/?ref=app

20th Oct 2019, 12:28 PM
Syeda Suraiya Binta Imam
2 Answers
+ 3
Your code works fine. The input must be: I am John or I am Lara. "I am" should be part of the input.
20th Oct 2019, 12:34 PM
Paul
Paul - avatar
0
Oh I see. Thanks for pointing it out!
20th Oct 2019, 1:10 PM
Syeda Suraiya Binta Imam