Question
here is my program.Help my fix it from the break part. import random def rounds(num): i=0 while(i # getting number of rounds from user num
here is my program.Help my fix it from the break part.
import random def rounds(num): i=0 while(i # getting number of rounds from user num = int(input("Enter number of rounds(2 or 6):")) if(num==2): rounds(2) # if user enters 2 rounds elif(num==6): rounds(6) # if user enters 6 rounds else: print("Please enter either 2 rounds or 6 rounds...!!!") # otherwise
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started