Why is the error coming in this code??👇 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why is the error coming in this code??👇

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

22nd Aug 2020, 7:51 AM
riya charles
riya charles - avatar
4 Answers
+ 3
You should be extra careful when using spaces/newline in python You have split the statement in line 3 into two different lines which is generating this error. Here is the fix https://code.sololearn.com/c9Jd498Hi1T8/?ref=app
22nd Aug 2020, 7:56 AM
Arsenic
Arsenic - avatar
+ 2
Thank u arsenic
22nd Aug 2020, 8:16 AM
riya charles
riya charles - avatar
+ 2
I've understood...now I recorrect it
22nd Aug 2020, 8:16 AM
riya charles
riya charles - avatar
+ 2
Your welcome riya charles 🙂👍
22nd Aug 2020, 8:16 AM
Arsenic
Arsenic - avatar