Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Python: How to Use variable as a key

Python: How to Use variable as a key
{filelink=16014}

even  =   [2, 4, 6, 8]
odd=   [1, 3, 5, 7, 9]
dict={'even':even, 'odd':odd}
# convet to string
print str(dict)
print repr(dict)

Users who found this page were searching for:

  • how to create apps with Tkinter
  • python compare time
  • python attache text file to email
  • convert LinkedList to double[] jav
  • python subclass
  • reversing words in string in java
  • python close file path

No comments yet.

Leave a Comment