END OF FILE ERROR

query = input()
I HAVE ENTERED ONLY THIS LINE AND TRYING TO COMPILE IT BUT GETTING AN ERROR. THE ERROR IS END OF FILE-ERROR. WHAT SHOULD I DO?

Read this .