daily pastebin goal
12%
SHARE
TWEET

Untitled

a guest Dec 9th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. >>> t = (1)
  2. >>> t
  3. 1
  4. >>> type(t) # t não recebe uma lista, e sim um inteiro
  5. <type 'int'>
  6.  
  7. # Veja a diferença
  8. >>> t = (1,)
  9. >>> t
  10. (1,)
  11. >>> type(t)
  12. <type 'tuple'>
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
 
Top