Given these assignments, what do the string expressions listed below return?
s = 'Python' t = '!'
s.upper()s + ts + t * 3s[:3]t[:3]Compare and contrast the following approaches to looping through the characters of a string.
my_string = 'testing'
for my_char in my_string:
print(my_char)
for my_index in range(len(my_string)):
print(my_string[my_index])
Given these assignments, what do the Boolean expressions listed below return?
l = [1, 2, 3] m = l n = l[:]
l == ml is ml == nl is nWrite a function that receives a string and returns a list of the string's vowels (without repeats).