Skip to content

Instantly share code, notes, and snippets.

@jennz0r
Created May 20, 2019 23:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jennz0r/86d910abd9c862ff504868a2d2d23299 to your computer and use it in GitHub Desktop.
Save jennz0r/86d910abd9c862ff504868a2d2d23299 to your computer and use it in GitHub Desktop.
// You can coerce an integer into string in JavaScript
let coerced = 1;
let concatenated = coerced + 'string';
# You can't coerce an integer into a string in Python
not_coerced = 1
concatenated = str(not_coerced) + 'string'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment