Sunday, May 25, 2014

Day 50

Explored Python at CodeCademy. Worked on Python tutorial 3 of 16, Strings & Console Output, Escaping characters. Learned to fix apostrophe problems with backslash or double quotes.

The code used:
# Broken string.
'This isn't flying, this is falling with style!'
# Broken string fixes.
'This isn\'t flying, this is falling with style!'
"This isn't flying, this is falling with style!"

There was no interaction, fixed broken string.

No comments:

Post a Comment