Created
August 21, 2013 16:43
-
-
Save akhal3d96/6296908 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
#!/usr/bin/python | |
import random | |
def Generate(): | |
_1 = str(random.randint(0,9)) | |
_2 = str(random.randint(0,9)) | |
_3 = str(random.randint(0,9)) | |
_4 = str(random.randint(0,9)) | |
_5 = str(random.randint(0,9)) | |
_6 = str(random.randint(0,9)) | |
_7 = str(random.randint(0,9)) | |
_8 = str(random.randint(0,9)) | |
_9 = str(random.randint(0,9)) | |
_10 = str(random.randint(0,9)) | |
_11 = str(random.randint(0,9)) | |
_12 = str(random.randint(0,9)) | |
_13 = str(random.randint(0,9)) | |
_14 = str(random.randint(0,9)) | |
All = _1+_2+_3+_4+_5+_6+_7+_8+_9+_10+_11+_12+_13+_14 | |
return All | |
#io = open("b.txt","w") | |
Posibility = 50854003200 | |
while (Posibility > 0): | |
Writing = Generate() | |
#io.write (Writing) | |
print(Writing) | |
Posibility = Posibility -1 | |
#io.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
هحاول أشوف الموضوع ده بتعمق لما أكون فاضي وشكراً قوي بس انا مش متخيل إن الموضوع بسيط بالبايثون للدرجادي :D