How To Use N Function In Python