at the last line I am getting "string literal in condition" please help me out | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 2

at the last line I am getting "string literal in condition" please help me out

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

29th Jun 2018, 10:48 AM
Swapnil Srivastava
Swapnil Srivastava - avatar
6 ответов
+ 5
You need to add “responce” elseif response == "a" or response == "A"
29th Jun 2018, 11:08 AM
Agent
Agent - avatar
+ 3
Hi Swapnil Srivastava I think you need to add a double equal on the last condition as all the rest have one ‘==‘ Remember to read all of the warnings as it says: ./Playground/:116: warning: found = in conditional, should be == ‘should be ==‘ not = it is saying
29th Jun 2018, 10:54 AM
Agent
Agent - avatar
+ 2
Swapnil Srivastava i have found the problem
29th Jun 2018, 11:06 AM
Agent
Agent - avatar
+ 1
did'nt helped
29th Jun 2018, 11:00 AM
Swapnil Srivastava
Swapnil Srivastava - avatar
+ 1
x-plain me dude
29th Jun 2018, 11:07 AM
Swapnil Srivastava
Swapnil Srivastava - avatar
0
😢did'nt helped either
29th Jun 2018, 11:14 AM
Swapnil Srivastava
Swapnil Srivastava - avatar