Computer Science, asked by varnika123, 7 months ago

28. Find errors in the following code fragment: (The input entered as XI)
c = int(input ("Enter your class"))
print("Your class is", c)

please help me. by solving this question.
please do this fast because tomorrow is my exam.
if i like your answer then I will mark that brainlist​

Answers

Answered by hrishikeshjadhav03
28

c = int(input( "Enter your class") )

print ("Your class is", c)

# XI is a string type and can't be converted into an integer

I hope this is helpful plz follow and mark as brainalist

Similar questions