Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help Python, use example, thank you Arcade console, version 2 : Use a for loop to print Ready Player 1, Ready Player 2, Ready

Please help

Python, use example, thank you

Arcade console, version 2: Use a for loop to print "Ready Player 1", "Ready Player 2", "Ready Player ..." for every player. It is your choice how many players - if you choose to have six players, the loop should print six messages on six separate lines. (Hint: you can store the number of players you have in a variable. You can then use that variable to print the current player number as part of the message, each time the loop iterates.)

Note: The two scripts are independent of each other. You do not need to include in the Version 2 script what you did for the Version 1 script, or vice versa. For example, you do not need to count coins in Version 2; just list the "Ready Player ... " statements. Similarly, you do not need to list in Version 1 players beyond Player 1; just display the coin counts and display "Ready Player 1" once.

Example

numberOfCats = 4 catsFed = 0 print(catsFed, " cats are fed.") for i in range(numberOfCats): catsFed = catsFed + 1 print(catsFed, " cats are fed.")

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction To Constraint Databases

Authors: Peter Revesz

1st Edition

1441931554, 978-1441931559

More Books

Students also viewed these Databases questions

Question

How much overlap should be provided between APs? Why?

Answered: 1 week ago

Question

a. Describe the encounter. What made it intercultural?

Answered: 1 week ago