How To Push Function In Python