मराठी

Which of the following statement(s) would give an error during the execution of the following code? tup = (20, 30, 40, 50, 80, 79) print(tup) #Statement 1 print(tup[3] + 50) #Statement - Computer Science (Python)

Advertisements
Advertisements

प्रश्न

Which of the following statement(s) would give an error during the execution of the following code?

tup = (20, 30, 40, 50, 80, 79)
print(tup)                     #Statement 1
print(tup[3] + 50)     #Statement 2
print(max(tup))         #Statement 3
tup[4]=80                  #Statement 4

पर्याय

  • Statement 1

  • Statement 2

  • Statement 3

  • Statement 4

MCQ
Advertisements

उत्तर

Statement 4

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2023-2024 (March) Board Sample Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×