Commande Range Python Function Example Code For R