[EC3] [Python] To disable for python ? #140
Labels
🗃️ rule
rule improvment or rule development or bug
🏆 challenge2023 🏆
Work done during the ecoCode Challenge 2023
__PRIO_HIGH__
python
La règle EC3 "Getting the size of the collection in the loop" est notée "à faire" dans python, mais les boucles for en python sont sur le principe d'une boucle foreach, on ne prend donc pas la taille du tableau:
fruits = ["apple", "banana", "cherry"]
for x in fruits:
if x == "banana":
break
print(x)
The text was updated successfully, but these errors were encountered: