Why does my code never work even though i do it right? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why does my code never work even though i do it right?

it just never works

22nd Apr 2017, 1:41 AM
enderguy_hd
enderguy_hd - avatar
6 Answers
+ 12
If you are talking about your 2 codes, they have syntax errors.
22nd Apr 2017, 1:53 AM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 3
check my account and code play ground
22nd Apr 2017, 1:52 AM
enderguy_hd
enderguy_hd - avatar
+ 2
example?
22nd Apr 2017, 1:45 AM
Giannis Tsirovasilis
Giannis Tsirovasilis - avatar
+ 2
oh ok I'll check over it
22nd Apr 2017, 1:53 AM
enderguy_hd
enderguy_hd - avatar
+ 2
really appreciate it
22nd Apr 2017, 1:54 AM
enderguy_hd
enderguy_hd - avatar
0
Syntax erroor: if without a condition. Even if you corrected the error, your program is still meaningless, while is always in true condition.
22nd Apr 2017, 6:40 AM
Calviղ
Calviղ - avatar