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]
3 years ago
11

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

Mathematics
1 answer:
Rama09 [41]3 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
What does W equal? I’m lost
Lera25 [3.4K]

Answer:

it looks like it would be 69% like the one below it

Step-by-step explanation:

5 0
3 years ago
Write the following phase as an algebraic expression: "The amount of money in my bank account increased by $100 over summer." *
goblinko [34]
X+100=y i dont think there is any other answer

5 0
3 years ago
Read 2 more answers
Use slopes to determine if the lines y= -x/3- 9 and 6x – 2y = -5 are perpendicular.
WARRIOR [948]

Answer:

They are perpendicular.

Step-by-step explanation:

When we convert the equation 6x-2y=-5 into y=mx+b form, it changes into y=3x-5/2. Since we know that perpendicular slopes are opposite reciprocal, the opposite reciprocal of -x/3 is 3. So, we know that these 2 slopes are perpendicular.

8 0
4 years ago
Bring the fraction a/a−4 to a denominator of 16−a^2<br><br> really do appreciate this thx
RSB [31]

Answer:

-a(a+4)/(16 - a²)

Step-by-step explanation:

            a/(a - 4)                  Multiply by (a + 4)/(a + 4)

= a(a + 4)/[(a – 4)(a + 4)]     Multiply the denominatorator terms

= a(a + 4)/(a² - 16)               Multiply by -1/(-1)

= -a(a+4)/(-a² + 16)              Reorder terms in denominator

= -a(a+4)/(16 - a²)

5 0
3 years ago
You but 6 bags of wild bird food to fill the feeders in your yard. oyster shell grit, a natural calcium source, sells for $4.00
user100 [1]
You buy 4 $5.00 bird food bags and 2 $4.00 bird food bags
5 0
3 years ago
Other questions:
  • The two-way table displays the hair color of the sophomore (So), junior (Jr), and senior (Sr) classes at West Coast High School,
    7·2 answers
  • Rosa works due north of home. Her husband Ray works due east. They leave for work at the same time. By the time Rosa is 5 miles
    12·1 answer
  • Tell two way to make &amp;0.59
    12·1 answer
  • .......................help pls<br><br><br><br><br>​
    10·2 answers
  • Find the place of the digit 3 in the number 417153071.
    13·1 answer
  • CAN YOU GUYS HELP ME ASAP PLEASE
    9·2 answers
  • What is a numerical expression for the verbal expression. eight times six divided by two minus nine
    14·2 answers
  • kaelyne has 14 coins that have a value of $1.20. she only has dimes and nickeles. how many nickels does kaelyne have?( ill upvot
    5·1 answer
  • Please help! I dont wanna beg
    10·1 answer
  • If
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!