Updated to output 6 pins for medium and hard difficulties
This commit is contained in:
parent
2fce0e5aee
commit
367ad2f1d8
@ -32,6 +32,9 @@ while (pins == []):
|
||||
|
||||
print ("|\t1\t|\t2\t|\t3\t|\t4\t|\t5\t|\t6\t|")
|
||||
for row in range (0, 4):
|
||||
print("|\t" + random.choice(pins) + "\t" + "|\t" + random.choice(pins) + "\t" + "|\t" + random.choice(pins) + "\t" + "|\t" + random.choice(pins) + "\t" + "|\t" + random.choice(pins) + "\t" "|\tX\t|")
|
||||
if choice.upper() == "E":
|
||||
print("|\t" + random.choice(pins) + "\t" + "|\t" + random.choice(pins) + "\t" + "|\t" + random.choice(pins) + "\t" + "|\t" + random.choice(pins) + "\t" + "|\t" + random.choice(pins) + "\t" "|\tX\t|")
|
||||
else:
|
||||
print("|\t" + random.choice(pins) + "\t" + "|\t" + random.choice(pins) + "\t" + "|\t" + random.choice(pins) + "\t" + "|\t" + random.choice(pins) + "\t" + "|\t" + random.choice(pins) + "\t" "|\t" + random.choice(pins) + "\t|")
|
||||
print ("Good Luck!")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user