Given the Bubble Sort algorithm studied in class, use the fo…

Given the Bubble Sort algorithm studied in class, use the following list to show the contents of the list for the next first two passes of the algorithm. There is no need to explain the algorithm – you only need to write down the contents of the list for each pass and iteration on a separate line. 32 -19  27 -5 -11 22 5

Use Python to write the following functions: A function ca…

Use Python to write the following functions: A function called is_vowel() that takes a single character string as argument and returns True if the character is a vowel, otherwise, the function returns False. Write another function called count_vowels() that accepts a string as an argument and returns the number of vowels that the string contains. count_vowels() should use the is_vowel() function to count the number of vowels in the string. Write a third function called count_consonants() that accepts a string as an argument and returns the number of consonants that the string contains. count_consonants() should use the is_vowel() function.

The output of the following code is ________________________…

The output of the following code is __________________________. student_ids = {’emily’: ‘w1234’,               ‘bob’: ‘w2345’,               ‘laila’: ‘w3456’,               ‘tanisha’: ‘w4567′,               ’emma’: ‘w5678’}if ‘laila’ not in student_ids.keys():    student_ids = ‘w3419’print(student_ids)