avatar Bite 99. Write an infinite sequence generator

Write a generator that produces the sequence [1, 'A', 2, 'B', 3, 'C', ... 'X', 25, 'Y', 26, 'Z'] infinitely. So once you hit Z you start at 1 again, etc. Maybe itertools can help you here? Have fun!

Login and get coding
go back Intermediate level
Bitecoin 3X

171 out of 172 users completed this Bite.
Will you be Pythonista #172 to crack this Bite?
Resolution time: ~31 min. (avg. submissions of 5-240 min.)
Pythonistas rate this Bite 3.67 on a 1-10 difficulty scale.
» You can do it! 😌

We use Python 3.8