Last active
September 21, 2022 11:25
-
-
Save bluebat/c1843d91b7e97c7e508828c67a80658b to your computer and use it in GitHub Desktop.
Math Fun
This file contains hidden or 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 random | |
s = list(range(1,10)) | |
while s[0]/(s[1]*10+s[2])+s[3]/(s[4]*10+s[5])+s[6]/(s[7]*10+s[8]) != 1: | |
random.shuffle(s) | |
print(s) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment