<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def main():
 """ NAME fisher.py DESCRIPTION generates set of Fisher distribed data from specified distribution INPUT (COMMAND LINE ENTRY) OUTPUT dec, inc SYNTAX fisher.py [-h] [-i] [command line options] OPTIONS -h prints help message and quits -i for interactive entry -k specify kappa as next argument, default is 20 -n specify N as next argument, default is 100 where: kappa: fisher distribution concentration parameter N: number of directions desired """

    N,kappa=100,20
    if '-h' in sys.argv:
        print(main.__doc__)
        sys.exit()
    elif '-i' in sys.argv:
        ans=input('    Kappa: ')
        kappa=float(ans)
        ans=input('    N: ')
        N=int(ans)
    else:
        if '-k' in sys.argv:
            ind=sys.argv.index('-k')
            kappa=float(sys.argv[ind+1])
        if '-n' in sys.argv:
            ind=sys.argv.index('-n')
            N=int(sys.argv[ind+1])
    for k in range(N): spitout(kappa)