Typo in Encode as String #176
ArtichokeSap
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Thanks for catching this! I will try to cook up a good fix for this discrepancy. I appreciate you taking the time to post this. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey @rsokl , in the Encode As String Problem in Module 2, there's a small typo, where it says:
But the former makes
item1<hi>item2<hi>item3
while the latter makes
<hi>item1<hi>item2<hi>item3
I would just make a pull request, but I'm not a natually pythonic coder to make equivalent, but still elegant code using a for loop; so I don't even know what to change it to. For example, this does produce the output, but is ugly coding:
Ultimately that doesn't satisfy me with the intention of "is equivalent to the long-form code".
Beta Was this translation helpful? Give feedback.
All reactions