When i run the program the dice i made are different please help | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

When i run the program the dice i made are different please help

import random for i in range (1): values = random.randint (1,6) print(values) if values ==(1): print ("""+----------+ | | | | | • | | | | | +----------+""") if values ==(2): print ("""+----------+ | | | • | | | | • | | | +----------+""") if values ==(3): print ("""+----------+ | | | • • | | | | • | | | +----------+""") if values ==(4): print ("""+----------+ | | | • • | | | | • • | | | +----------+""")

10th Nov 2020, 11:28 AM
Dino Gupta
Dino Gupta - avatar
3 Answers
+ 7
Dino Gupta Try this print (""" +----------+ | | | | | • | | | | | +----------+ """) https://code.sololearn.com/cHzl47QIb2nd/?ref=app
10th Nov 2020, 11:37 AM
Simba
Simba - avatar
+ 2
try move the upper "+------------+" to the right
10th Nov 2020, 11:33 AM
noteve
noteve - avatar
+ 2
""" +---------------+ | | | • • | | • • |
10th Nov 2020, 11:34 AM
noteve
noteve - avatar