Hacker News new | ask | show | jobs
by earthnail 1254 days ago
I ran into one instance just now where this problem happened:

In the first tutorial, at some point you have

> word = ‘Hello’

> your_name = ‘Somename’

> word + your_name

‘HelloSomename’

Now the course asks me to fix it so it says ‘Hello Somename’. My first approach was to enter

> word = ‘Hello ‘

This fixed it, but the course wasn’t happy. Instead I needed to type word + ‘ ‘ + your_name.

Previously in the course, the course stated that all following three solutions were correct for introducing the space:

‘Hello ‘ + ‘World

‘Hello’ + ‘ World’

‘Hello’ + ‘ ‘ + ‘World’

Because of that feedback, I thought it was confusing that one had to use the third solution in that later part of the course.

Hope that feedback helps. Otherwise, I think this is course absolutely fantastic! Congratulations on creating something so special!

Edit: excuse the weird ticks; I’m writing this comment on an iPad