How To Pass An Array To A Function In Python