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]
2 years ago
13

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

Mathematics
1 answer:
kenny6666 [7]2 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
5 points
KIM [24]

Answer: 13

Step-by-step explanation:

7 0
3 years ago
The population of two different villages is modeled by the equations shown
vlada-n [284]

Answer:

Year = 1995 and population = 315

Year = 2015 and population = 715

Step-by-step explanation:

It is given that the population of two different villages is modeled by the given equations:

y=x^2-30x+540

y=20x+15

The population of both villages are same after x years after 1980 if

x^2-30x+540=20x+15

x^2-30x+540-20x-15=0

x^2-50x+525=0

Splitting the middle term, we get

x^2-15x-35x+525=0

x(x-15)-35(x-15)=0

(x-15)(x-35)=0

x=15,35

It means, after 15 or 35 years, the population will same.

For x=15, years is 1980+15=1995 and population is  

y=20(15)+15=315

For x=35, years is 1980+35=2015 and population is  

y=20(35)+15=715.

Therefore, population are equation in Year = 1995 and population = 315 or Year = 2015 and population = 715.

7 0
3 years ago
What is a^2+15^2=17^2<br><br> I can't figure out what A is... HELP PLSSSSSSSSSSSSSSSSSSSSS<br> :3
likoan [24]

Answer:

Step-by-step explanation:

3 0
3 years ago
Read 2 more answers
What is the answer? I’m new here so please answer it?
11Alexandr11 [23.1K]

Answer:

$258 <u><em>I think</em></u>

Step-by-step Explanation:

3 0
3 years ago
Which fact helps you prove the isosceles triangle theorem, which states that the base angles of any isosceles triangle have equa
levacccp [35]

Answer:

D. If one angle of a triangle is larger than another angle, then the side opposite the larger angle is longer than the side opposite the smaller angle.

Step-by-step explanation:


3 0
3 years ago
Read 2 more answers
Other questions:
  • Lina packs 3-inch cups into boxes measuring 12 inches by 15 inches . How many cups fit in one box
    6·1 answer
  • Nancy is saving $2from her allowance every week. marco is saving $1 the first week $2 the second week $3 the third week and so o
    15·2 answers
  • A(b-c)=d solve for c
    15·1 answer
  • If you have 50$ and want something that cost 28$, how much money would you have
    13·2 answers
  • Write the equation of the line that is perpendicular to the given line and that passes through the given point
    15·1 answer
  • What are the slope and one point on the graph of y-12=4/9(x+7)
    8·2 answers
  • Resolución de problemas mediante sistemas de ecuaciones. plantear un problema, cuya expresión algebraica coincida para cada uno
    13·1 answer
  • Solve the quadratic equation x2=25/36.<br><br><br>What are the solutions of the equation x2=25/36?
    7·1 answer
  • A bakery makes 40 different flavors of muffins. 25% of the flavors have chocolate as one of the ingredients. How many flavors ha
    13·2 answers
  • Please solve <br><br> 1) 4x-5/5=3<br> 2) 3(2x-5) =7<br> 3) 3x+2/2=13
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!