From 7a2210937f224a7ba1b471a4d90dfd599630cc77 Mon Sep 17 00:00:00 2001 From: Ferexio Date: Mon, 1 Aug 2022 06:40:30 +0000 Subject: [PATCH] Add new file --- twitter.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 twitter.py diff --git a/twitter.py b/twitter.py new file mode 100644 index 0000000..54b3c51 --- /dev/null +++ b/twitter.py @@ -0,0 +1,13 @@ +def twitter(string): + string = string.replace('a', "") + string = string.replace('e', "") + string = string.replace('i', "") + string = string.replace('o', "") + string = string.replace('u', "") + return string + +def main(): + string = input("Write your string please: ") + print(twitter(string)) + +main()