Question: Design a program that: a uses a minimum of four variables/ b. uses at least two random element (randInt()) C. implements at least one

Design a program that: a uses a minimum of four variables/ b.

 

Design a program that: a uses a minimum of four variables/ b. uses at least two random element (randInt()) C. implements at least one nested for loop or while loop d. implements if/elif/else statements e uses at least four functions fuses at least four user-directed decisions

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Code def rolldice return randomrandint1 6 def main declare four variables numberofrolls 0 totalrolls ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!