Skip to content

Instantly share code, notes, and snippets.

@daneah
Last active November 19, 2019 15:53
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 daneah/14e23b624814895de918ed5d40da758b to your computer and use it in GitHub Desktop.
Save daneah/14e23b624814895de918ed5d40da758b to your computer and use it in GitHub Desktop.
Copy & paste error
one = '1'
two = '2'
three = '3'
thing = f'{one} {two} {three}'
thing = '{one} {two} {three}'.format(
one='1',
two='2',
three='3',
)
one = '1',
two = '2',
three = '3',
thing = f'{one} {two} {three}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment