/ pset2 / twttr / twttr.py
twttr.py
1  twitter = input("Input: ")
2  twttr = ""
3  for c in twitter:
4      match c:
5          case "a" | "e" | "i" | "o" | "u" | "A" | "E" | "I" | "O" | "U":
6              continue
7          case _:
8              twttr = twttr + c
9  print("Output: ", twttr)