+ 3

What is the error?

I have written a code to print a pattern of shape of a heart.. But its not working.. https://code.sololearn.com/cqhudsVFIyVg/?ref=app

14th Feb 2018, 4:59 PM
AnandJeeChoubey
AnandJeeChoubey - avatar
1 Odpowiedź
+ 4
You use wrong character for logical 'or' operator: ¦¦ should be || (depending on font, both could appear the same ^^) Anyway, check this ascii heart done by loop: https://code.sololearn.com/cAa4DQ554Ddj/?ref=app
14th Feb 2018, 5:19 PM
visph
visph - avatar