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
Katyanochek1 [597]
3 years ago
13

In a for loop, is it possible to use indexing?

Mathematics
1 answer:
kenny6666 [7]3 years ago
4 0

Answer:

Yes

Step-by-step explanation:

A for loop basically relies on repeating the same code for a pre-set number of times. During which you can make any code repeat inside of it, including indexing through a type of list. Many times a for-loop will use the indexes in a list to calculate the number of times that the loop has to repeat. This is usually done in order to search or apply changes in an array of other types of data structures that have countless values stored in it.

You might be interested in
0.02 is 10 time as much as
attashe74 [19]
It is 0.20 and also try your best
7 0
3 years ago
Read 2 more answers
Convert
ICE Princess25 [194]

Answer:

The correct option is A.

Step-by-step explanation:

The given number is

\frac{5}{11}

Where 5 is dividend and 11 is divisor.

Since dividend is less than divisor we add a decimal place and the first zero. Notice the decimal point which has appeared on the answer line and by the dividend. It does not appear anywhere else.

Now the dividend is 50. Divide the number by divisor.

11\times 4=44

Subtract 44 from 50.

50-44=6

Therefore remainder is 6. Place a zero after 6.

Now the new dividend is 60. Divide the number by divisor.

11\times 5=55

Subtract 55 from 60.

60-55=5

Therefore remainder is 5.

\frac{5}{11}=0.454545

\frac{5}{11}\approx 0.45

Therefore option A is correct.

5 0
3 years ago
Assume the sample below is a perfectly random sample of students at a school. How much greater is the mean of the
igor_vitrenko [27]

Answer:

0.75

Step-by-step explanation:

The table is not well presented (See Attachment)

There are at least two approaches to this question

Method 1:  

Steps

1. Calculate the mean of reported heights

Mean of reported heights = (61+68+57.5+48.5+75+65+80+68+69+63)/10

Mean of reported heights = 655/10

Mean of reported heights = 65.5

2. Calculate the mean of measured heights

Mean of measured heights = (62 + 68 + 56.5 + 47 + 72 + 65 + 78 + 67 + 69.5 + 62.5)/10

Mean of measured heights = 647.5/10

Mean of measured heights = 64.75

3. Get their difference

Difference = Mean of reported heights - Mean of measured heights

Difference = 65.5 - 64.75

Difference = 0,75

Method 2: Calculate the mean of their difference

Mean of difference = Sum of difference / Number of observations

Mean of difference = (-1 + 0 + 1 + 1.5 + 3 + 0 + 2 + 1 – 0.5 + 0.5)/10

Mean of difference = 7.5/10

Mean of difference = 0.75

Note that in both cases, the result is 0,75.

Hence, the reported heights at the school is 0.75 greater than the actual measured height

3 0
3 years ago
Read 2 more answers
Solve the system of equations by finding the reduced row-echelon form of the augmented matrix for the system of equations.
krok68 [10]

Answer:

(x, y, z) =(1, -1,2)

Step-by-step explanation:

.............

8 0
3 years ago
Haley has enlarged a 3-inch by 5-inch picture so that both the length and width are tripled. The area of the enlarged photo is h
77julia77 [94]

Answer:

9 times

Step-by-step explanation:

Area = length x breadth

area of picture not enlarged = 3 x 5 = 15in²

If length is tripled it becomes , 3 x 3 = 9in

If width is tripled, it becomes , 5 x 3 = 15in

Area of enlarged picture = 9in x 15in = 135in²

amount by which enlarged image is larger = 135in² /15in² = 9

5 0
3 years ago
Other questions:
  • The box plots show the target heart rates of men 20-40 years olf and men 50-70 which statement is best supported by the informat
    5·1 answer
  • If i make 2230.80 per month, how much per hour for 40 hour work week
    12·1 answer
  • Samir begins riding his bike at a rate of 6 mph. Twelve minutes later, Chris leaves from the same point and bikes along the same
    13·2 answers
  • Nadal invests $5678 at an annual interest rate of 4.5% for 6 years. For which variable can nadal substitute the value 5678 in th
    7·2 answers
  • The graph of g(x) is a translation of the function f(x) = x2. The vertex of g(x) is located 5 units above and 7 units to the rig
    9·2 answers
  • Which of the following is not an example of a perfect square? a √9 b √200 c √4 d √64
    14·1 answer
  • <img src="https://tex.z-dn.net/?f=%285-2i%29%5E%7B2%7D" id="TexFormula1" title="(5-2i)^{2}" alt="(5-2i)^{2}" align="absmiddle" c
    7·1 answer
  • The perimeter is about WHAT HELP!?
    5·1 answer
  • How to tell if something is a function.
    5·1 answer
  • HELP Solve for x and y
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!