Preparing git repo for final project
This commit is contained in:
11
problems/pset2/twttr/twttr.py
Normal file
11
problems/pset2/twttr/twttr.py
Normal file
@@ -0,0 +1,11 @@
|
||||
def main():
|
||||
tweet = input("Input: \t\t")
|
||||
result = ''
|
||||
for c in tweet:
|
||||
if c.lower() not in ('a', 'e', 'i', 'o', 'u'):
|
||||
result += c
|
||||
print(f"Output: {result}")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
Reference in New Issue
Block a user