GH 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!

go back Intermediate level
Bitecoin 3X

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

Buy Now Login and get coding
We use Python 3.7