Commande Range Python Function Definitions