Queer European MD passionate about IT

twttr.py 231 B

1234567891011
  1. def main():
  2. tweet = input("Input: \t\t")
  3. result = ''
  4. for c in tweet:
  5. if c.lower() not in ('a', 'e', 'i', 'o', 'u'):
  6. result += c
  7. print(f"Output: {result}")
  8. if __name__ == "__main__":
  9. main()