1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
netineya [11]
3 years ago
15

URGENT: I need to add a while loop in this program but I don't know-how. I am also having trouble neatening some lines of code.

Computers and Technology
1 answer:
dangina [55]3 years ago
8 0

Answer:

Answer is in the provided screenshot.

Explanation:

You are making this more confusing for yourself by doing it like this.

I have added variables at the top of your program for game messages that are repeated - and also simplified the given cases for if the player wins, loses or ties.

I invite you to now make a point tracker that, at the start of each game says: You have "x" points.

And you gain a point for winning, lose a point for losing and nothing happens if you tie.

To add a while loop - simply use the "while" keyword, and anything within the loop will repeat while the given condition is true.

You might be interested in
1. Rice paste changes from white to blue black colour when a few drops of iodine solution are added to it. It shows the presence
nirvana33 [79]

Answer:

Blue black

Explanation:

Because of the presence of starch. When iodine comes in contact with starch, it forms starch Iodide complex because iodine gets stuck in the beta coils in the structure of amylose of starch. The starch iodide complex gives blue-black colour.

4 0
4 years ago
What is HTML ? <br>Give a small description about html
Genrish500 [490]
Hypertext Markup Language, a standardized system for tagging text files to achieve font, colour, graphic, and hyperlink effects on World Wide Web pages.
this information was taken from google
7 0
3 years ago
Read 2 more answers
Python code for converting between minutes to seconds. For example 5 minutes= 300 seconds. please help me with this
Anastaziya [24]

Answer:

def print _ seconds(hours, minutes, seconds):

seconds += 3600 * hours + 60 * minutes

print(seconds)

Explanation:

Hope this help's.

6 0
3 years ago
What is ODBC? How is it related to SQL/CLI? 10.2. What is JDBC? Is it an example of embedded SQL or of using function calls? 10.
tamaranim1 [39]

Answer:hhhhhhhhh

Explanation:

5 0
3 years ago
ASAP NEED HELP ASAP NEED HELP ASAP NEED HELP ASAP NEED HELP ASAP NEED HELP ASAP NEED HELP ASAP NEED HELP ASAP NEED HELP​
anyanavicka [17]

Answer:

<em><u>1</u></em><em><u>3</u></em><em><u>.</u></em><em><u>c</u></em>

<em><u>1</u></em><em><u>4</u></em><em><u>.</u></em><em><u>d</u></em>

<em><u>1</u></em><em><u>5</u></em><em><u>.</u></em><em><u>b</u></em>

<em><u>1</u></em><em><u>6</u></em><em><u>.</u></em><em><u>a</u></em>

<em><u>1</u></em><em><u>7</u></em><em><u>.</u></em><em><u>c</u></em>

Explanation:

<em><u>please</u></em><em><u> </u></em><em><u>brainleist</u></em><em><u> </u></em><em><u> </u></em><em><u>please</u></em><em><u> </u></em><em><u>☻</u></em><em><u>☺️</u></em><em><u>❤</u></em><em><u>♨️</u></em>

8 0
3 years ago
Read 2 more answers
Other questions:
  • Laura would like to include additional text that is related to the document but not contained within the document.
    13·2 answers
  • (PLS HELP 99 POINTS) In a paragraph of no less than 125 words, explain the three aspects involved in gaining a true appreciation
    14·2 answers
  • Which one of the following terms is defined as the material and surfaces upon which an artist works?
    9·1 answer
  • As an alternative to using the Color button on the PICTURE TOOLS FORMAT tab to display the Color gallery, you can right-click th
    9·1 answer
  • List two advantages and two disadvantages of Satellite Based<br> Augmentation Systems
    8·1 answer
  • Irena sends unwanted e-mails to another girl in her class, but she is reported to the principal. Irena stops sending the e-mails
    12·2 answers
  • Use the drop-down menus to complete statements about options for inserting video files.
    15·1 answer
  • What is the advantage of using a translation look-aside buffer (TLB), also called associative memory, in the logical-physical ad
    15·1 answer
  • Suppose the CashRegister needs to support a method void undo() that undoes the addition of the preceding item. This enables a ca
    6·1 answer
  • 1 the background image on the desktop of computer is called
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!