Question: 6 . Start the Body Right now, your procedure will not do anything if you call it . That is because it has no body

6. Start the Body
Right now, your procedure will not do anything if you call it. That is because it has no body (except for the docstring).
We now want you to start writing the body.
To keep it simple, lets just make the body one line for now. Copy the first print statement from dice.py to the body of rollem. When you do that, you should be able to see this print statement when you call this function, as follows:
codio@mike-panther:~/workspace/exercise1$ python
>>> import proc
>>> proc.rollem(1,6)
Choosing two numbers between 1 and 6.
>>> proc.rollem(-4,4)
Choosing two numbers between -4 and 4.
Try this out yourself a few times. Then check your answer before moving to the next task.

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 Programming Questions!