CBSE Class 11 Computer Science Question 79 of 98

Python Programming Fundamentals — Question 41

Back to all questions
41
Question

Question 28

Find errors in the following code fragment. (The input entered as XI)

c = int (input ("Enter your class:"))
print ("Your class is", c)
Answer

The input value XI is not int type compatible.