Skip to content

Instantly share code, notes, and snippets.

@akhal3d96
Created August 21, 2013 16:43
Show Gist options
  • Save akhal3d96/6296908 to your computer and use it in GitHub Desktop.
Save akhal3d96/6296908 to your computer and use it in GitHub Desktop.
#!/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()
@akhal3d96
Copy link
Author

هحاول أشوف الموضوع ده بتعمق لما أكون فاضي وشكراً قوي بس انا مش متخيل إن الموضوع بسيط بالبايثون للدرجادي :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment