I found this code from a few years back.
I understand what this code does but not how.
Could anyone explain what the *
and the ?
are doing here? I haven't seen them used like this before.
myarr = [*?a..?z] #generates an array of strings for each letter a to z
myarr = [*?a..?z] + [*?0..?9] # array of strings a-z and 0-9