C-17-Q066mediumsingle_mcq
In the alternative method (without match), the data structure used to hold all vowel characters is a:
In the alternative method (without match), the data structure used to hold all vowel characters is a:
- atuple
- bset
- clist
- ddictionary
ব্যাখ্যা
The alternative approach stores the vowel characters in a list, allowing the program to check membership against that collection rather than enumerating cases. A list is the data structure used to hold all the vowels.