Question 4
nameList = [\'Harsh\', \'Pratik\', \'Bob\', \'Dhruv\']
pos = nameList.index(\"GeeksforGeeks\")
print (pos * 3)
Question 5
D = dict()
for x in enumerate(range(2)):
D[x[0]] = x[1]
D[x[1]+7] = x[0]
print(D)
Question 6
a = {i: i * i for i in range(6)}
print (a)
Question 7
Which of the following statement(s) is TRUE?
There are 7 questions to complete.