Created
May 8, 2022 16:37
-
-
Save GiorgioSgl/d0ac8d9855b6f3eea129ec63ab6562b6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
i = 0 | |
while i < len(my_list): | |
i = i + 1 | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you should use
i += 1
to improve the performances and execute again the tests checking the timesome sources about performances reason https://stackoverflow.com/a/41446882/5081063