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
Valentin [98]
2 years ago
11

You are testing a classmate’s program. The program asks you how many times you want to play the game, and you input “five.” You

get the following error message: “ValueError: invalid literal for int() with base 10: 'five.'” What line of code could prevent this problem in the future?
Computers and Technology
1 answer:
Svetach [21]2 years ago
7 0

Answer:

5 time

Explanation:

because I am in school tell study

You might be interested in
Given the function definition below, what is the effect of thecall:
Romashka-Z-Leto [24]

Answer:

Hi!

The correct answer is E.

Explanation:

void change(int ar[], int low, inthigh)  {  

 int temp;

 if(low< high)  {  <em>// here ask if the positions low and high of the array are the same.</em>

  temp= ar[low];  <em>// first, saves the element on ar[low] in temp.</em>

  ar[low]= ar[high];  <em>// second, the element on ar[high] in ar[low]. First switch.</em>

  ar[high]= temp;  <em>// third, saves the element on temp in ar[high]. Complete switch.</em>

  change(ar,low + 1, high - 1);  <em>// Recursive call, adding one position to low, and subtracting one position to high. </em><em>Important: </em><em>When low and high have the same value, the recursive call will finish.</em>

}

}

Result: Switch the lower half of elements in the array with the upper half.

8 0
3 years ago
Read 2 more answers
Drag each label to the correct location on the image.
andrezito [222]

Answer:

1.) Relative cell reference - A1

2.) Absolute cell reference - $D$2

3.) Mixed cel reference - $D2

Explanation:

In Microsoft Excel, cell references are very important and critical when dealing with formula. They can give you what you’re looking for or make your entire worksheet incorrect.

A cell reference is a cell address or a range of cell addresses that can be used in a formula.

There are three types of cell references and they are;

a) Relative reference

b) Absolute reference

c) Mixed reference

A relative cell reference is a cell reference that changes when you copy the formula to other cells. It s usually just a normal cell reference like A1, B2, C3. If a formula with a relative cell reference is copied down to other cells, the formula will change. That is a formula with a relative cell reference changes with respect to the cell which it is copied to.

An absolute reference does not change when you copy the formula to other cells. In absolute references, the dollar sign $ is used to “lock” both the row and column so that it does not change when it is copied to other cells. An example is $D$2.

Using a mixed cell reference, one is trying to see that only either the row or column changes with respect to other cells when they are copied. It is like “locking” either the column or the row while changing the other. Just like from the example, $D2 is a mixed cell reference where only the column is locked such that only the row changes when the formula is copied to other cells.

7 0
3 years ago
Which type of unshielded twisted pair (UTP) is commonly used in Ethernet 10BASE-T networks, which carry data at a rate of 10 Mbp
tino4ka555 [31]

Answer:

Category 3 (CAT3) Unshielded Twisted Pair cable

Explanation:

A Category 3 (CAT3) Unshielded Twisted Pair cable is a cable that makes use of the conductivity of copper to transmit data and power. These cables are an older standard for Ethernet cables and can handle data speeds of up to 10mbps.The succeeding standard for Ethernet cables include CAT5 which has speeds of up to 100 mbps, CAT 3 is mostly used in applications where speed is not of great importance such as in PBXs and VoIP telephone systems.

6 0
3 years ago
Discuss the causes ,symptoms, preventive measures and treatment of AIDS​
Svetlanka [38]

Answer:

AIDS can be caused by having sexual intercourse with an AIDS-infected partner. It can only be spread through the contact of infected blood or fluid from a mother to child during childbirth.

There are many symptoms of AIDS. However, these are the most common symptoms of AIDS:

  1. Swollen lymph glands
  • Most of the white blood cells are produced there.

2. Weight loss

3. Diarrhea

There are many measures that can be put in placed to prevent AIDS.

  1. To use a condom during sexual intercourse.
  2. Making sure that needles are not shared with others (e.g. when piercing your ear). The needles may be contaminated by an AIDS-infected user. Use a clean needle.
8 0
3 years ago
Read 2 more answers
Define hexadecimal number system ​
zmey [24]

Answer:

a positional numeral system that represents numbers using a radix (base) of 16

7 0
2 years ago
Read 2 more answers
Other questions:
  • You maintain an RODC running Windows Server 2012 R2 at a branch office, and you want Juanita, who has solid computer knowledge,
    13·1 answer
  • How can you achieve an effect like that shown in the image?
    7·2 answers
  • What mass of nh3 can be made from 35g of n2?
    14·1 answer
  • 1) In your own words, explain what a browser is. 2) Why is it important to keep your browser up to date?
    12·1 answer
  • According to the government, employees have a right to understand the risks associated with the materials they work with.
    15·1 answer
  • How do you award a brainliest
    8·2 answers
  • 2.
    8·1 answer
  • Write any one method to delete a table in writer​
    11·1 answer
  • Which factor affects reading speed the most?
    9·1 answer
  • How media platform drives globalization.<br> Advantages and disadvantages of using media platforms?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!