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

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

Focus on this Bite hiding sidebars, turn on Focus Mode.

Ask for Help