Computer Science, asked by Chanakya4403, 9 months ago

Create a variable alphabet that consists of the lowercase and uppercase letters in the english alphabet using the ascii_letters data attribute of the string library.

Answers

Answered by Anonymous
5

Answer:

Import the string library. Create a variable alphabet that consists of the lowercase and uppercase letters. in the English alphabet

Answered by prasadkolhatkar17
3

Answer:

import string

my_variable = string.ascii_letters

print(my_variable)

Explanation:

Here "string" is python inbuilt library. and it has "ascii_letters" as a attribute which represent "a-z" and "A-Z" total of 52 characters of alphabet

Similar questions