python-print statement :syntax error -invalid syntax;IMPORT ERROR:NO MODULE NAMED PYPARSING
Question: 
    from __future__ import print_function//////
    from pyparsing import *//ERROR IN THIS LINE///////
    from copy import deepcopy   def convertToCNF(exp):
    
    print("Given formula:", exp, sep="\n", end="\n\n")
    parserOutput = parse(exp)
    if parserOutput == False:
        print("Not well formed formula")
        exit(0)
    
    root = makeTreeFromParserOutput(parserOutput)
    root.makeCNF()
    CNF = str(root)
    if CNF[0] == "(" and CNF[-1] == ")": CNF = CNF[1:-1]
    print("CNF for the formula is:", CNF, sep="\n")
    

This code shows an error in print statement which is near
`sep="\n",end="\n\n")` can anyone please tell me whats the error?


Answer: You can use `from __future__ import print_function` in python-2 to enable
yourself to use python3 print feature.

