Skip to content

Instantly share code, notes, and snippets.

@a-square
Last active January 13, 2017 21:04
Show Gist options
  • Save a-square/0a0862fd3c40a0757fcb4fb315c22250 to your computer and use it in GitHub Desktop.
Save a-square/0a0862fd3c40a0757fcb4fb315c22250 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python3
def prepare():
values = list(range(5))
values.append(values)
return values
xs = prepare()
xs = xs + xs
ys = prepare()
ys += ys
print(xs, ys, sep='\n')
print(xs == ys)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment