c = input( "Enter your class" )
print ("Last year you were in class") c - 1
# c is a string and hence 1 can't be subtracted from it, also c-1 is outside the parentheses
c = input( "Enter your class" )
print ("Last year you were in class") c - 1
# c is a string and hence 1 can't be subtracted from it, also c-1 is outside the parentheses