Question: read _ dice ( ) input five integers on one line separated by blank spaces. Convert to integersread _ dice ( ) - input five

read_dice() input five integers on one line separated by blank spaces. Convert to integersread_dice ()- input five integers on one line separated by blank spaces. Convert to integers
and return a list. To correct potential input errors, values above 6 are recorded as 6 and values
below 1 are recorded as 1. For example:
>1,5,1,2,6
>1,-5,1,9,6
and return a list. To correct potential input errors, values above 6 are recorded as 6 and values
below 1 are recorded as 1. For example:
>15126
>1-5196
 read_dice() input five integers on one line separated by blank spaces.

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!