The Double

Report a typo

You have a letters string that consists of lowercase latin letters. Write a program that creates a dictionary, in which keys are latin letters, and values are their doubling:

{'a': 'aa', 'b': 'bb', ..., 'z': 'zz'}

Save this dictionary in the variable double_alphabet. Note that you shouldn't print this dictionary, just save it as the variable!

Write a program in Python 3
# put your python code here
double_alphabet = ...
___

Create a free account to access the full topic