-
-
Save GoodManWEN/23274b3bcdd6fbeb352bea9f44b85441 to your computer and use it in GitHub Desktop.
draft_timeit.py
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
lst = list(range(100)) | |
lst = [i+2 for i in lst] | |
print(lst) | |
lst = list(range(100)) | |
for i in range(100): | |
lst[i] += 2 | |
print(lst) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment