Please someone explain this , thanks . | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
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')))

20th Oct 2020, 4:43 PM
Curious Ant
Curious Ant - avatar
1 ответ
+ 5
C not in 'aieou' so result 0
20th Oct 2020, 4:55 PM
Julia Shabanova
Julia Shabanova - avatar