0
Please someone explain this , thanks .
What is the output of this code ? def is_vowel(char) : all_vowels = 'aieou' return char in all_vowels print(int(is_vowel('c')))
1 Answer
+ 5
C not in 'aieou' so result 0
What is the output of this code ? def is_vowel(char) : all_vowels = 'aieou' return char in all_vowels print(int(is_vowel('c')))