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
If you travel 40 miles at 45 miles per hour, how many minutes will that take you?
GenaCL600 [577]
Ok so im not good with words and math, but i am going to try my best to explain it. first you will take 45/60 which is the 45 miles per hour. next you will put it equal to 40/x. x is how many minutes. they are set equal to each other because they are the same ratio. (i honestly dont know why you cross multiply, but you just do). you then multiply 40*60 and 45*x. this gives you 2400=45x. you then divide both sides by 45 and get 53 1/3 minutes. or 53 minutes and 20 seconds

7 0
3 years ago
Solve and graph <br> -4 + 2t - 14 - 18t &gt; -6 - 100t
irina [24]
Okay so first u just add the terms on each side 
2t-18>-6-100t  
2(t-9)>2(-3-50t)
t-9>-3-50t
51t>6
t>6/51
t>2/17
so just take a number line put an empty circle like this : O on 2/17 and draw a line showing it continues to the right infinitely. Sorry if my math is wrong lol i am functioning on one hour of sleep. 
7 0
3 years ago
Help answer fast!! Please
Karo-lina-s [1.5K]
It might be 90in

Because it’s asking if the prism below
5 0
3 years ago
a recipe includes 8 cups of flour and two third cups of shortening. write the ratio to the amount of flour to the amount of shor
Paul [167]
8:2/3 because you can't go lower than 2/3
8 0
3 years ago
What is the vertical asymptote of the function f(x) = 3 log(x + 3) is x?
Art [367]
Hello,

\lim_{x \to -3} 3 log(x+3) =-\infty
x=-3 is the vertical asymptote.
6 0
4 years ago
Read 2 more answers
Other questions:
  • Write the standard form of the equation of the hyperbola 4x2 − 9y2 − 16x − 36y − 56 = 0.
    10·1 answer
  • Determine if the function defines an inner product on R3, where u = (u1, u2, u3) and v = (v1, v2, v3). (Select all that apply.)
    5·1 answer
  • Jamal worked from 3:20 until 9:55. How many minutes did he work?​
    15·2 answers
  • The aquarium is 24 inches long and 10 inches wide.The volume of the aquarium is 2,880 cubic inches. How many inches tall is the
    14·2 answers
  • Anyone??? need some help huys:)
    9·1 answer
  • A(4,-7) B(-2,1) find AB
    10·1 answer
  • How many elements are in the set {A,B,C}?
    11·2 answers
  • Find missing angle measure
    10·1 answer
  • What is the volume of this rectangular prism?
    15·2 answers
  • Find the value of x. If necessary, write your answer in simplest radical form.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!