Question
Predict the output list1 = ['physics',
'chemistry', 1997, 2000] list2 = [1, 2, 3, 4, 5, 6, 7 ] print "list1[0]: ", list1[0]Solution
- List Definitions :
- list1 is a list containing the elements ['physics', 'chemistry', 1997, 2000].
- list2 is a list containing the elements [1, 2, 3, 4, 5, 6, 7].
- Print Statement :
- The print statement is intended to display the value at list1[0].
- list1[0] refers to the first element in list1, which is 'physics'.
Which of the following is the best sources for Vitamin D are –
Which type of hydrogen is produced from fossil fuels without capturing the resultant carbon emissions?
What type of glass is used in the manufacturing of cooking utensils?
Aqua regia, which can dissolve gold, is a freshly prepared mixture of concentrated hydrochloric acid and concentrated ______.
What did Archimedes determine after discovering the Archimedes principle?
Which one of the following is not a ‘Greenhouse Gas’?
Which of the following fatty acids does NOT form soap?
Common name of Sodium Carbonate is?
How many carbon atoms are present in a molecule of glucose?
Match the following gases with their typical uses:
List I (Gas) List II (Uses)
A) Argo...