SyntaxFix
Write A Post
Hire A Developer
Questions
Without dict, try this solution:
x, y, z = 0, 1, 3 offset = ord('c') [chr(i + offset) for i in (x,y,z)]
and gives:
['c', 'd', 'f']