0

When you want to create a list from a word is posible using "list"?

Like when we are making a list of numbers using list(range (10)) que hoy create they list [0,1,2,3,4,5,6,7,8,9]

1st Aug 2018, 10:49 PM
Miguel Segura
Miguel Segura - avatar
1 Réponse
+ 2
# Did you mean create a character list from a string? Yes: print(list('test')) # wich output: [ 't', 'e', 's', 't' ]
2nd Aug 2018, 12:50 AM
visph
visph - avatar