SHARE
TWEET

Untitled

a guest Jun 20th, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. >>> a = (1, 2, 3)
  2. >>> b = (1, 2, 3)
  3. >>> b = b + *a,
  4.   File "<stdin>", line 1
  5.     b = b + *a,
  6.             ^
  7. SyntaxError: invalid syntax
  8. >>> b = b + (*a,)
  9. >>> b
  10. (1, 2, 3, 1, 2, 3)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top