I am a beginner in Python and am currently learning about making beautiful code.  I've started with a small program.  Can you please review my code?    def inputAndRes():    try:        a = raw_input(Enter no. :- )        n = int(a)    except Exception:        print -----------------------------------        print Please Enter No.  , ( The Number you entered is not a number )        inputAndRes()    else:        if(n>0):            print Number is Positive        if(n<0):            print Number is Negative        if(n==0):            print Number is ZERO        wantRestart()def checkYN(checkResult):    if (checkResult == 'Y'):            inputAndRes()    if (checkResult == 'N' ):            print ( !!! Program Quit !!!)    else:        print (Invalid Option Make sure that you type (Y / N))        print (Continue..)        wantRestart()def wantRestart():    print \nWant to Restart Program, if Yes then Enter 'Y' and if No enter 'N' :- ,    try:        checkResult = raw_input( )    except Exception as e:        print (Sorry Error Occured: ,e)    else:        checkYN(checkResult)        #...Start of Program...inputAndRes()
Determining whether a number is positive, negative or zero
python;beginner