s=input("Enter any string=>")
list_s=list(s)
print(list_s)
for i in list_s:
if i in ['a','e','i','o','u','A','E','I','O','U']:
list_s.remove(i)
print(list_s)
s=input("Enter any string=>")
list_s=list(s)
print(list_s)
for i in list_s:
if i in ['a','e','i','o','u','A','E','I','O','U']:
list_s.remove(i)
print(list_s)
Leave a Reply