हिंदी

Select the correct output of the code: s = "Python is fun" l = s.split() s_new = "_".join([1[0].upper(), 1[1], 1[2].capitalize()]) print(s_new) - Computer Science (Python)

Advertisements
Advertisements

प्रश्न

Select the correct output of the code:

s = "Python is fun"
l = s.split()
s_new = "_".join([1[0].upper(), 1[1], 1[2].capitalize()])
print(s_new)

विकल्प

  • PYTHON-IS-Fun
  • PYTHON-is-Fun
  • Python-is-fun
  • PYTHON-IS -Fun
MCQ
Advertisements

उत्तर

PYTHON-is-Fun
shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2023-2024 (March) Board Sample Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×