Write a function called maximum(a_list)
,
which takes a list of integers as a parameter. Your function
should print the maximum of the values in the list.
>>> maximum([0, 1, 2]) 2 >>> maximum([1, 1, 1, 1, 1, 1]) 1 >>> maximum([2, 8, 6, 4]) 8
Write a function called print_firsts(a_list)
, which
takes as a parameter a list of string. Your function should print
only the first character of every string in the list.
>>> print_firsts(["alpha", "beta", "charlie", "delta", "echo", "foxtrot"]) a b c d e f >>> print_firsts(["INQ", "241"]) I 2 >>> print_firsts(["I", "<3", "yik", "yak"]) I < y y >>>
In a file called adding_sounds.py write a function
called combine_sounds(sound_1, sound_2)
. This function should
create a new sound, which is the result of appending sound_1 to the
end of sound_2.
After
Alpha Bravo