Why the code is not valid? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
25th Sep 2020, 11:47 AM
#It's Tony Stark
#It's Tony Stark - avatar
2 Answers
+ 2
Ok, I haven't checked all the code but one thing I recommend you to do is not give keywords names to the variables like min sum etc
25th Sep 2020, 11:59 AM
Ramphy Aquino Nova
Ramphy Aquino Nova - avatar
+ 2
Your indentation is all over the place. You seem to just pick a random number of spaces before each line and you can't do that in Python. I'd suggest you review how to use indentation before continuing. You have other issues too: Require a colon ":" at the end of the line starting with def Equality operator is "==" not "="
25th Sep 2020, 12:13 PM
Russ
Russ - avatar