i’ve tried multiple options with for and while loops with a break…
Question Answered step-by-step i’ve tried multiple options with for and while loops with a break… i’ve tried multiple options with for and while loops with a break command, nested and with the for i in range. i cant work out how to break if a zero is input and cant get it to loop back to the userinput again. i’ve tried to print the * for rows and columns and get nothing working! continually throws errors from ide..help would be appreciatedi thought if i got the rows working the columns would follow as it should be a repeat of the logic Prompt the user for a number of rows in the range 1 to 10, with 0 stopping the programStop the program if the number of rows is 0Print an error message and loop back if the number of rows is out of rangePrompt the user for a number of columns in the range 1 to 10Print an error message and loop back if the number of columns is out of rangeDraw a filled rectangle of asterisks (‘*’) with the given number of rows and columns.Print a blank line and loop back to get new and row and column values Computer Science Engineering & Technology Python Programming CYBER SECU 22334VIC Share QuestionEmailCopy link Comments (0)


