Commande Range Python Function Example Code Java