Advertisements
Advertisements
प्रश्न
What will be the output of the following code?
L = ["India", "Incredible", "Bharat"]
print(L[1][0] + L[2][−1])
विकल्प
IT
it
It
iT
MCQ
Advertisements
उत्तर
It
Explanation:
L[1][0] gives the first letter of "Incredible" → 'I'L[2][-1] gives the last letter of "Bharat" → 't'
Combining them → 'I' + 't' = "It"
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
