I want to remove an object from a list using a the variable 'classname'
list = [A, A, B] #objects inside a list
classname = input() . #x = A
list.remove(classname) #the problem is that classname is a string
#and the list has no strings