Question: can you explain why didnt we use return in this code? import random def main(): again = ' y ' while again ==' 'y': print('Rolling

 can you explain why didnt we use return in this code?

can you explain why didnt we use return in this code?

import random def main(): again = ' y ' while again ==' 'y': print('Rolling the dice..') print (random. randrange (1,7), random. randrange (1,7)) again = input('Roll them again? ( y=yes):)

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!