Chlooe Posted February 5, 2021 Posted February 5, 2021 Helloo, Une petite question : quelle est la différence entre for i in range () et for loop in range () Je vois pas trop quand il faut utiliser l'un ou l'autre Merci d'avance Quote
Solution virasolelh Posted February 5, 2021 Solution Posted February 5, 2021 hello @Chlooe !! aucune différence en soit! après le "for" tu ajours le nom d'une variable quelconque. tu peux mettre ce que tu veux après ce for ça ne change absolument rien. c'est comme appeler ta variable patate ou chateaufort, c'est juste une dénomination pour toi Quote
Chlooe Posted February 5, 2021 Author Posted February 5, 2021 On 2/5/2021 at 9:16 AM, sugar_froggy said: hello @Chlooe !! aucune différence en soit! après le "for" tu ajours le nom d'une variable quelconque. tu peux mettre ce que tu veux après ce for ça ne change absolument rien. c'est comme appeler ta variable patate ou chateaufort, c'est juste une dénomination pour toi Expand super merciiii virasolelh 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.