import random
num_rolls = 0
while True:
r1 = random.randint(1, 6)
r2 = random.randint(1, 6)
print("Rolled: " + str(r1) + "," + str(r2))
num_rolls += 1
if r1 == r2 == 1:
break
print("It took you "+str(num_rolls)+" rolls")
I added the working code. You don't appear to be adding to num_rolls at all. I wrote my code in python 3.8. I hope this helps.
Animation or C your welcome my friend
The transmission that is more efficient is the full duplex transmission.
<h3>What is database?</h3>
A database simply means an organized collection of a structured information in a computer program.
In this case, when a company uses multimedia applications in addition to normal file and database sharing, the efficient transmission is the full duplex transmission.
Learn more about database on:
brainly.com/question/26096799
#SPJ12
The principle or element of layout design is highlighted in an event poster in option i: The headline.
<h3>What are the elements of page layout?</h3>
The poster is known to be one that often uses a kind of hierarchy and centered text alignment as its element.
Note that it is one whose Lines of use is said to be made up of different kinds of type styles, sizes and others.
The simple elements of an advertising poster is made up of:
1. The headline.
2. The sub-head.
3. The body copy.
4. The caption.
The elements of page layout are visual hierarchy, visual flow, and others. Hence, the principle or element of layout design is highlighted in an event poster in option i: The headline.
Learn more about layout design from
brainly.com/question/2501083
#SPJ1