We've created a program to choose a random letter from ascii_letters but we forgot the imports. Fill in the gaps to complete the function.
Random letter
Report a typo
Fill in the gaps with the relevant elements
from import
from import ascii_letters
# choose a random letter
letter = choice(ascii_letters)
# print the letter
print(letter)Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.