CBSE Class 11 Computer Science Question 80 of 106

Python Fundamentals — Question 9

Back to all questions
9
Question

Question 9

Find the errors in following code fragment : (The input entered is XI)

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

The input value XI is not int type compatible.