Show the printout of the following code:
t = (1, 2, 3, 7, 9, 0, 5)
print(t)
print(t[0])
print(t[1: 3])
print(t[-1])
print(t[ : -1])
print(t[1 : -1])
The printout of the code is
Python 3.2.1 (default, Jul 10 2011, 21:51:15) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> ================================ RESTART ================================
>>>
(1, 2, 3, 7, 9, 0, 5)
1
(2, 3)
5
(1, 2, 3, 7, 9, 0)
(2, 3, 7, 9, 0)
>>>