import sys i=0; def func1(i): print "i am in function func1" if i<5: i=i+1 func1(i) else: return return def main(): print "beginnning the function\n" func1(i) print "hello Daniweb" s='aman' print "hahha" main()
it is giving me syntax error in print "hahha" statement. WHat is that ? According to me, it is correct. can anyone help. thanks.