Question: Python: You are a professor who teaches 500 students, and you want to create an efficient grading program. Create a program that generates integers from

Python: You are a professor who teaches 500 students, and you want to create an efficient grading program. Create a program that generates integers from 0 to 100, following the rule below

Consents: 20% chance to generate a number from 0 to 60. 70% chance to generate a number from 61 and 80. and 10% chance to generate a number between 81 and 100.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!