pass = 35 getting error : why the error is coming
marks = input()
print "marks are more than passing marks",marks>pass
File "<stdin>", line 1
pass = 35
^
SyntaxError: invalid syntax
Unknown error.
It is because pass is a keyword in Python and is reserved. So, you can't use as a variable. You can see the list of reserved words in this chapter.