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
vaieri [72.5K]
2 years ago
11

Slice indices must be integers or none or have an __index__ method

Mathematics
1 answer:
Rama09 [41]2 years ago
8 0

Answer:

This is an error (TypeError) that is displayed by the Python interpreter when one of the parameter in a slice function is not a value of type integer or None.

For example:

>>> a = 'welcome'

>>> a[2.2:3]

Traceback (most recent call last):

 File "<stdin>", line 1, in <module>

TypeError: slice indices must be integers or None or have an __index__ method

The error occur because the value 2.2 is not an integer or None

Step-by-step explanation:

You might be interested in
A courier service charges a $5 pick up fee plus $0.15 per mile the total charge to deliver a package was $7.85 how many miles di
vladimir2022 [97]

Answer:

19 miles

Step-by-step explanation:

7.85-5

285/15=19

7 0
2 years ago
Read 2 more answers
Find an equation parallel to the line, y= -3x -1
Aleks04 [339]

Answer:

y = 3x -2

Step-by-step explanation:

If the line is parallel, that means it has the same slope. The given equation had a slope of 3, so the new line must also have a slope of 3.

You can plug the given coordinates into the slope-intercept form with a slope of 3 to find your answer.

y = m*x + b

7 = 3*3 + b

7 = 9 + b

-2 = b

y = 3x -2

I Hope This Helps :D

7 0
3 years ago
Read 2 more answers
Can you help me!!!!!!!!
Citrus2011 [14]

Answer:

Yes, this is A Linear Function!

Step-by-step explanation:

This is a linear function beacuse linear functions are straight lines on the graph as you may know. So when we graph these numbers it turns up as a straight increasing linear line.

(I attached a pic for u)


Hope this helps!

<3 me if it did!

6 0
2 years ago
I need help to this question
dlinn [17]
The range would be $14.

To find the range, you would take the highest value and subtract it by the lowest value:
29 - 43 =
14

Hope this helped! :)
5 0
2 years ago
Read 2 more answers
Which assumption(s) must be used to prove that vertical angles are congruent?
ivanzaharov [21]

Answer:

The assumption to prove that vertical angles are congruent is "Vertical angles are always congruent".

Step-by-step explanation:

Vertical angles are a pair of angles (not adjacent) opposite each other by a vertex when two lines intersect.

When two lines intercept at a point, 4 angles are formed. Those that are opposite to each other and are not adjacent are vertical angles, these are always congruent.

In this case, we can affirm that if two angles are opposed by the vertex, they are equal.

Have a nice day!

5 0
3 years ago
Other questions:
  • If figure A is similar to figure B, what is the relationship between their perimeters?
    7·1 answer
  • Explanation how solve step by step 2/7m-1/7=3/14
    5·1 answer
  • Quinn had $4.00 he spent 1/2 of his money on baseball cards,1/4 of it on a drink and 1/8 of it on bubble gum. how much does quin
    10·1 answer
  • Problem PageQuestion Flying against the jetstream, a jet travels 3050 miles in 5 hours. Flying with the jetstream, the same jet
    11·1 answer
  • A χ2 goodness-of-fit test is performed on a random sample of a bag of 30 Skittles® to determine whether the proportion of each f
    13·1 answer
  • Two rectangles are similar. The length and width of the first rectangle is 4 m by 5 m. The second rectangle is similar by a scal
    6·1 answer
  • A bakery sold 119 chocolate cupcakes in a day. Which was 35% of the total number of cupcakes sold that day . How many total cupc
    14·2 answers
  • Help me please !!!!!!!!!!!!!!!!!
    12·2 answers
  • The board of an internet start up company has sixteen members. if one person is in charge of research and one is in charge of ma
    9·1 answer
  • Use the drop-down menus to complete the proof. by the unique line postulate, you can draw only one segment,
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!