why the for gives error? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
9th May 2020, 2:14 PM
E.Q
E.Q - avatar
5 Answers
+ 3
You have a else in for loop? Else is only used with if If (){ Something } else
9th May 2020, 2:18 PM
Abhay
Abhay - avatar
+ 1
🤦 tanks!
9th May 2020, 2:36 PM
E.Q
E.Q - avatar
+ 1
E.Q on line 23 else (n >= 10 <= 20 ), Check logical operands class again.
9th May 2020, 3:28 PM
Mustafa K.
Mustafa K. - avatar
0
Do you know why there is an error in the output? https://code.sololearn.com/c54w1LlxzBpI/?ref=app
9th May 2020, 2:57 PM
E.Q
E.Q - avatar
0
ok, it was just a test
9th May 2020, 3:52 PM
E.Q
E.Q - avatar