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

Why error is coming and what is the error????👇

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

20th Jul 2020, 9:21 AM
blooming Flowers
blooming Flowers - avatar
4 Answers
+ 5
blooming Flowers , I assume that you are a beginner. Since some elementary basics are not taken into account in your code, I suggest that you go through the python tutorial again so that you will be familiar with it. Thank you!
20th Jul 2020, 11:03 AM
Lothar
Lothar - avatar
+ 2
My bad!
20th Jul 2020, 9:34 AM
Ćheyat
Ćheyat - avatar
+ 2
blooming Flowers true is not defined and indentation error. Python is case sensitive: true is not the same as True. Take note. Also any code under a conditional statement must be indented. if "blooming" == "programmer": print("yes") 𝐊𝐢𝐢𝐛𝐨 𝐆𝐡𝐚𝐲𝐚𝐥 already fixed it for you
20th Jul 2020, 9:38 AM
Tomiwa Joseph
Tomiwa Joseph - avatar
+ 1
Unlike in other languages , Indentation in python is crucial and sensitive. Even a single whitespace can ruin the whole program. https://code.sololearn.com/cWYzSKlDixav/?ref=app
20th Jul 2020, 9:31 AM
Ćheyat
Ćheyat - avatar