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?
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
Get step-by-step solutions from verified subject matter experts
