hedyorg / hedy

Hedy is a gradual programming language to teach children programming. Gradual languages use different language levels, where each level adds new concepts and syntactic complexity. At the end of the Hedy level sequence, kids master a subset of syntactically valid Python.
https://www.hedy.org
European Union Public License 1.2
1.32k stars 289 forks source link

level 10 error #437

Closed Princekrampah closed 3 years ago

Princekrampah commented 3 years ago

colour is blue colourtwo is yellow if colour is blue: if colourtwo is yellow: print 'Together we make green!'

The above hedy code results in an error. Any solution to this error?

All indentations are as they should be

Felienne commented 3 years ago

Hi @Princekrampah!

For me this works:

image

Also if you are submitting code in an issue, you can use the <> button in GitHub to make it look like code, incl the indentation. That can be handy so I can copy-paste the code into Hedy.

Felienne

Princekrampah commented 3 years ago

Oh okay, I'll include the code properly next time. Guess it's an issue on my end. Thanks

On Sat, May 22, 2021, 19:56 Felienne @.***> wrote:

Hi @Princekrampah https://github.com/Princekrampah!

For me this works:

[image: image] https://user-images.githubusercontent.com/1003685/119234647-50e56500-bb2f-11eb-82cb-321ef1cc2f37.png

Also if you are submitting code in an issue, you can use the <> button in GitHub to make it look like code, incl the indentation. That can be handy so I can copy-paste the code into Hedy.

Felienne

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Felienne/hedy/issues/437#issuecomment-846435390, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQAI3LCRUCGTAZCJF2YCAHLTO7O4LANCNFSM45KZLLBQ .