I've got something here, but I can't get it working how I like it:
def nested_loops():
import random
option1 = random.randint(1, 3)
option2 = random.randint(1, 3)
option3 = random.randint(1, 3)
The bit above generates numbers, but they may be the same. The below code this should fix that, but it doesn't, but it just seems to decrease the likelihood:
while option1 == option2:
option1 = random.randint(1,3)
while option1 == option3:
option1 = random.randint(1, 3)
while option2 == option3:
option2 = random.randint(1, 3)
print(option1)
print(option2)
print(option3)
It is fairly obvious it just prints them.