1. What is the output of the code shown below? 4+39 a) NameError b) IndexError c) ValueError d) TypeError 2 What is the
Posted: Fri May 20, 2022 12:01 pm
Question 3: Write a program called countVowels.py : [3 mark][CLO 2.2] which takes in a string of text entered by the user and uses a for loop to iterate over each character in that string to count number of EACH VOWEL (a, e, i, o, and u). The program should then print the results of this count. For example: Cer the text to analyze: you should learn pyton It great! re are 2 a in the string re are 2 e In the string e are 1 1 in the string are 3 o in the string e are 2 u in the string Solution:
1. What is the output of the code shown below? 4+39 a) NameError b) IndexError c) ValueError d) TypeError 2 What is the output of the code shown? int(65.43") a) ImportError b) ValueError c) TypeError d) NameError . . .