Question: PYTHON 3.5 How can i make my code repeat the rounds? Would i use a while loop? Help me write/fix my program to show this

PYTHON 3.5 How can i make my code repeat the rounds? Would i use a while loop? Help me write/fix my program to show this output. PLEASE USE PROPER INDENTIONPYTHON 3.5 How can i make my code repeat the rounds? Wouldi use a while loop? Help me write/fix my program to show

# A Python program for the Rock, Paper, Scissors game. import random

def main(): print('ROCK PAPER SCISSORS in Python') print() print('Rules: 1) Rock wins over Scissors.') print(' 2) Scissors wins over Paper.') print(' 3) Paper wins over Rock.') def rock_paper_scissors(): guess = 'r','p','s' computer_score = 0 person_score = 0 rounds = 1 total_rounds= int(input("How many points does it take to win? "))

while(computer_score

main() rock_paper_scissors()

| |ROCK PAPER SCISSORS in Python 3 Rules: 1) Rock wins over Scissors. 2) Scissors wins over Paper. 3) Paper wins over Rock 7 How many points does it take to win? 2 9 ********************* ROUND #1 ********************* 10 1234567

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!