हिंदी

Which of the following statement(s) would give an error after executing the following code? S="Welcome to class XII" # Statement 1 print(S) #Statement 2 S="Thank you" # Statement 3 S[0]= '@' - Computer Science (Python)

Advertisements
Advertisements

प्रश्न

Which of the following statement(s) would give an error after executing the following code?

S="Welcome to class XII" # Statement 1
print(S)       #Statement 2
S="Thank you"    # Statement 3
S[0]= '@'      # Statement 4
S=S+"Thank you"   # Statement 5

विकल्प

  • Statement 3

  • Statement 4

  • Statement 5

  • Statements 4 and 5

MCQ

उत्तर

Statement 4

shaalaa.com
Built-in Exceptions
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2022-2023 (March) Sample
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×