Answer the following based on the series given below.
import pandas as pd
list1=[1,2,3,4,5,6,7,8]
list2=['swimming','tt','skating','kho kho', 'bb', 'chess', 'football',"cricket"]
school=pd.Series(list1,index=list2)
school.name=("little")
print (school*2) #statement 1
print (school.tail(3)) # statement 2
print (school["tt"]) # statement 3
print (school[2:4]) # statement 4
i. Choose the correct name of the series object given above.
a) list1
b) list2
c) school
d) little
ii. Choose the correct output for the statement:
print (school.tail(3)) # statement 2
a. swimming 1
tt 2
skating 3
b. chess 6
football 7
cricket 8
c. 4
d. kho kho 4
bb 5
chess 6
football 7
cricket 8
iii. Choose the correct output for the statement:
print (school["tt"]). # statement 3
a. 2
b. 3
c. tt 2
d. true
iv. Identify the correct output for:
print (school[2:4]) # statement 4.
a. skating 3
kho kho 4
b. tt 2
skating 3
kho kho 4
c. skating 3
kho kho 4
bb 5
d. skating 3
kho kho 4
bb 5
chess 6
football 7
cricket 8
v. The correct output of the statement:
print (school*2) # statement 1 will be .
a. swimming 3
tt 4
skating 5
kho kho 6
bb 7
chess 8
football 9
cricket 10
b. swimming 2
tt 4
skating 6
kho kho 8
bb 10
chess 12
football 14
cricket 16
c. swimming False
tt False
skating True
kho kho True
bb True
chess True
football True
cricket True
d. swimming 1
tt 4
skating 9
kho kho 16
bb 25
chess 36
football 49
cricket 64