This is my output:
0 1 2 3 2 5 6 7 8 3 5 11 2 6 7 8 3 2 5 11 20 21 22 23
I am not sure what exactly is going on here. I am obviously doing something incorrectly but what I that would be output would be
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
I am not sure why it is not in that order.
a = 'RqafaksdjfklasdjfaklEzty'
def w(s):
str = ""
for x in s:
print(s.index(x))
return str
w(a)