Created
August 27, 2021 23:11
-
-
Save calthoff/0ff0e7e1ec579417bcf9207678f19085 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
x = 1 | |
n = 5 | |
a_list = [] | |
for i in range(1, n + 1): | |
a_list.append(x) | |
x = x * i |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment