CBSE Class 11 Informatics Practices Question 83 of 102

Python Programming Fundamentals — Question 44

Back to all questions
44
Question

Question 31

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.