Chlooe Posted February 5, 2021 Share 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 Link to comment Share on other sites More sharing options...
Solution virasolelh Posted February 5, 2021 Solution Share 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 Link to comment Share on other sites More sharing options...
Chlooe Posted February 5, 2021 Author Share Posted February 5, 2021 il y a 1 minute, sugar_froggy a dit : 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 super merciiii virasolelh 1 Quote Link to comment Share on other sites More sharing options...
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.