English

Find the errors from the given code. T=[a,b,c] PrinT

Advertisements
Advertisements

Question

Find the errors from the given code.

T=[a,b,c]
PrinT
Very Short Answer
Advertisements

Solution

Errors: a, b and c must be string values if they are intended as list elements; Print must be lowercase print; Python 3 requires parentheses.

shaalaa.com
  Is there an error in this question or solution?
Chapter 1: Review of Phython - EXERCISE [Page 26]

APPEARS IN

CBSE Computer Science with Python [English] Class 12
Chapter 1 Review of Phython
EXERCISE | Q 8. a. | Page 26
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×