मराठी

What will be the output of the following code? L = ["India", "Incredible", "Bharat"]print(L[1][0] + L[2][−1]) - Computer Science (Python)

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
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2025-2026 (March) Board Sample Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×