Created
May 7, 2018 16:26
-
-
Save 7h3kk1d/9d8618bdc675803b4cf567a0fa249a00 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 random | |
while True: | |
a = [random.randint(1, 6), random.randint(1, 6), random.randint(1, 6), random.randint(1, 6)] | |
print(a) | |
if len(set(a)) == 1: | |
break |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment