Feb-26-2021, 06:33 AM
(Feb-26-2021, 05:53 AM)buran Wrote:spam = ['a', 'e', 'i', 'o', 'i', 'u'] for idx, char in enumerate(spam): print(f'{idx} --> {char}')Now the question is do you really need the indexes.
Output:0 --> a 1 --> e 2 --> i 3 --> o 4 --> i 5 --> u
Yes, I thank buran and within the context how do I access a certain value from within the array by idx?