Exercise 7.1

Given these assignments, what do the string expressions listed below return?

s = 'Python'
t = '!'

Exercise 7.2

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])

Exercise 7.3

Given these assignments, what do the Boolean expressions listed below return?

l = [1, 2, 3]
m = l
n = l[:]

Exercise 7.4

Write a function that receives a string and returns a list of the string's vowels (without repeats).