Share Pastebin
Guest
Public paste!

Untitled

By: a guest | Mar 20th, 2010 | Syntax: None | Size: 0.32 KB | Hits: 52 | Expires: Never
Copy text to clipboard
  1. Type "help", "copyright", "credits" or "license" for more information.
  2. >>> row1 = 'nano'
  3. >>> row2 = [3,3,21]
  4. >>> table = [row1, row2]
  5. >>> print (table)
  6. ['nano', [3, 3, 21]]
  7. >>> element2 = table[0][1]
  8. >>> print (element2 )
  9. a
  10. >>> row1 = ['n''a''n''o']
  11. >>> row2 = [3,3,21]
  12. >>> table = [row1, row2]
  13. >>> print (element2 )