I need to build a mini program that the user types something in the input and the output will be the alphabet without the letters that the user put in the input. So i wrote this:
alphabet = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"]
text = input("Please enter any text")
for character in text:
if character in alphabet:
alphabet.remove(character)
print(alphabet)
But now I need to build the variable alphabet as an array, using ascii, without having to assign the letters manually, how do I do it?