Python, convert an integer into an index?

Chris Roberts thecjguy1 at gmail.com
Tue Sep 22 17:43:55 EDT 2015


(How do I make it into an index? )
Preferably something fairly easy to understand as I am new at this.

results = 134523      #(Integer) 

Desired: 
results = [1, 2, 3, 4, 5, 2, 3]   #(INDEX)

Somehow I see ways to convert index to list to int, but not back again.

Thanks, 
crzzy1



More information about the Python-list mailing list