Write a Python function that takes in a string and prints out a version of this string that does not contain any vowels, according to the specification below. Vowels are uppercase and lowercase 'a', 'e', 'i', 'o', 'u'.
For example, if s = "This is great!" then print_without_vowels will print
Ths s grt!. If s = "a" then print_without_vowels will print the empty string .
"""
def print_without_vowels(s):
'''
s: the string to convert
Finds a version of s without vowels and whose characters appear in the
same order they appear in s. Prints this version of s.
Does not return anything
'''
vowels = "aeiou"
s1 = ""
for i in s:
if i not in vowels and i not in vowels.upper():
s1 += i
print(s1)
return None
If the answers is incorrect or not given, you can answer the above question in the comment box. If the answers is incorrect or not given, you can answer the above question in the comment box.