The first and the most important advantage is that it
supports a simple data structure, mainly tables. Familiar to many users, the
table structure is an intuitive organization. Another main advantage of a
relational database as compared to others is better security. Once data are split into tables, certain
tables can be made confidential.
A screen display
(Light, sound, movement)
The function that counts the number of times a vowel exist in a string is as follows:
def count_vowels(string, dictionary):
vowels = 'aeiou'
dictionary = {}.fromkeys(vowels, 0)
for i in string:
if i in vowels:
dictionary[i] += 1
return dictionary
print(count_vowels("trouble", {}))
<h3>Code explanation.</h3>
The code is written in python.
- we defined a function named "count_vowels". The function accept a string and an empty dictionary.
- Then. we store the vowels in a variable vowels.
- The dictionary is used to store the key value pair i.e the vowels and the number of times they appear.
- We looped through the string.
- If any value in the string is in vowels, we increase the dictionary values by 1.
- Then, we return the dictionary.
- Finally, we call the function with it parameters.
learn more on function here: brainly.com/question/27219031
<span>d. Clean any dust or debris from the air vents in front of the fans.</span>