Write a program that prints all possible dice rolls with two dice. To do so, you should use a nested for loop.

Hint: You can’t use i for both for loops.

Here’s what your program should print

1,1
1,2
1,3
1,4
1,5
1,6
2,1
...
...
6,4
6,5
6,6

Answers

Answer 1

for x in range(1,7):

   for w in range(1,7):

       print(str(x)+","+str(w))

I wrote my code in python 3.8. I hope this helps.


Related Questions

One of the keys to using the FMEA method is to: Select one: a. have the 5S system in place b. have the seven basic tools of quality management completed c. have a cross-functional, multidisciplinary team d. have only common-cause variations

Answers

Answer:

c. have a cross-functional, multidisciplinary team

Explanation:

Failure Mode and Effects Analysis is a method developed and used by companies to evaluate  their products to ensure that they are up to standard before releasing them to the customers. There are seven steps to setting up an FMEA.

One of the key steps in this process is assembling the FMEA team. There should be a cross-functional, multidisciplinary team that can accurately evaluate the process. They would evaluate past mistakes and draw up a pre-work checklist that would be used for evaluation. This is better than allowing one individual perform the analysis because many things might go unnoticed.

explain the digitization process​

Answers

Answer:

Digitization is the process of converting information into a digital (i.e. computer-readable) format. The result is the representation of an object, image, sound, document or signal (usually an analog signal) by generating a series of numbers that describe a discrete set of points or samples

Explanation:

write a program to QBASIC to display the first 10 numbers of fibonacci series​

Answers

Answer:

FIB = 0

FNEXT = 1

FOR I=1 TO 10

 PRINT FIB

 TEMP = FNEXT

 FNEXT = FIB + FNEXT

 FIB = TEMP

NEXT I

Explanation:

The Fibonacci Sequence is: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89…

We're printing only the first 10 numbers.

at least 20 characters

Answers

Answer:

eh?

Explanation:

eh?

Situation No. 1. Joey is about
to start working on his
experiment about plant cell
using a compound
microscope. He noticed that
one of the objective lens is
missing and the course
adjustment knob is not
working. The eyepiece lens is
also broken. *​

Answers

Answer:

Explanation:

From the above explanation;

The main purpose of the objective lenses is to bring together the light from the specimen and then makes it appear larger by projecting it in the body tube.

Also, the coarse adjustment knob which can be found at the arm of the microscope is usually being used to transport the specimen into focus.

The eyepiece is an opening where the viewer perceives or observe the specimen. It comprises of 10X or 15X power lens.

So; since one of the objective lenses is missing, the coarse adjustment knob not working and the eyepiece lens is also broken. It is advisable to switch to the low power of about 10X and use a fine adjustment knob for the image focus.

Of the following choices, which one is a type of firewall actively maintaining awareness of the status conversations between internal and external hosts? Explain.
A) Stateful Firewall.
B) Non-Passive Firewall.
C) Active State Firewall.
D) Stateless Firewall.
E) None of the above

Answers

Answer:

A) Stateful Firewall.

Explanation:

A stateful firewall actively inspects the conditions and integrity of active connections. It is always in an active and standby mode to holistically evaluate the conditions of active network conditions.

Network traffics that pass their evaluation can have access to the protected network whereas traffics that do not pass their evaluation are blocked. A disadvantage of this firewall is that it can slow the activity of the local network because of all the monitoring it has to perform.

Answer:

The correct answer is A)

Explanation:

A firewall in the computer science parlance refers to a program that is designed specifically to monitor the inflow and outflow of connectivity traffic. By a predetermined set of rules, it is able to block unwanted connections, suspicious and or malicious connections thus preventing the computer from external attack.

As indicated in the question, there are various types of firewalls.

A Stateful Firewall is one that checks the complete state of network connections. This includes all communication between all incoming connections and internal protocol. So all incoming traffic is first screened and if they demonstrate any semblance of a malicious program or traffic, they are terminated at source.

Cheers

Use the function random.randint to write a program that rolls a 6-sided die 100 times, and prints out all of the rolls.

Print each roll on its own line.

Answers

import random

for x in range(100):

   print(random.randint(1,6))

I wrote my code in python 3.8. I hope this helps.

Other Questions
One of the keys to using the FMEA method is to: Select one: a. have the 5S system in place b. have the seven basic tools of quality management completed c. have a cross-functional, multidisciplinary team d. have only common-cause variations Need help with pt 3 of Density worksheet Krya needs help deciding which colors she should use on her web page. What can she use to help her decide.A. Color sectionB. Color theory C. Proofread D. Storyboarding What is the length of one leg of the triangle?O 9 cmO 92 cmO 18 cm1872 cm What happened to James Hamlet after he was arrested by U.S. marshals in NewYork?A) He was jailed and lynched.B) He was eventually reunited with his family,C) He was sold into slavery in Mississippi.D) He was killed while trying to escape his captors. Question ProgressExam Paper Progress177Grade For This Paper1Sue is thinking of a number.3of 88188What number is she thinking of? Solve the system of linear equations by graphing. y=-3x + 1 y = x- 7 Can yall answer these two please What advances were made during the Renaissance? Can someone help me ?What were some ways that women were discriminated against during the 1800s? some of those ways similar to how women are discriminated against today? ________ est usted, seora Mancebo? Cmo Cul Cundo Cunto PLEASE HELP THIS IS DUE IN 30 MINUTES I'LL BLESS YOUR FIRSTBORNComplete a two-column algebraic proof solving your equation.Post your equation and two-column proof what caused the event on January 6th 2021 Help me with number 7 (geometry) hint= x is 18 1/3 (show work) Help please. I really need it cause I dont know what to do. Why did scientists have to come up with a way of measuring distance in space? when did ww2 start 19451954 18308443 In the morning the temperature was -9F The temperature increased by25 at noon. Which was the temperature at noon? need help solving a practice question Ghana grew powerful because it