Created
June 3, 2022 17:54
-
-
Save GitHubEmploy/00ff39f7929be975c30d17d30625846f 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
import time | |
s = time.time() | |
tsum = 0 | |
for i in range(100000000): tsum += i | |
print(f'Sum: {tsum}') | |
print(f'For loop: {time.time() - s} seconds') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment