What is the result of each of the following:
>>> 'Python'[1]
>>> "Strings are sequences of characters."[5]
>>> len("wonderful")
>>> 'Mystery'[:4]
>>> 'p' in 'Pineapple'
>>> 'apple' in 'Pineapple'
>>> 'pear' not in 'Pineapple'
>>> 'apple' > 'pineapple'
>>> 'pineapple' < 'Peach'
Write a function that reverses its string argument, and satisfies these tests:
test(reverse('happy'), 'yppah')
test(reverse('Python'), 'nohtyP')
test(reverse(''), '')
test(reverse('a'), 'a')
Write a function that mirrors its argument:
test(mirror('good'), 'gooddoog')
test(mirror('Python'), 'PythonnohtyP')
test(mirror(''), '')
test(mirror('a'), 'aa')