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
vlabodo [156]
3 years ago
9

Finish the code to search for a 7 in the array.

Computers and Technology
1 answer:
guapka [62]3 years ago
8 0

Answer:

The complete code is as follows:

from array import *

myArr = array('f',[3, 5, 7,3, 10])

location = myArr.index(7)

print(str("7")+" is at position "+str(location+1))

Explanation:

I made corrections to the third line of the code and I added a line

This line gets the index of 7 from the array myArr using the index keyword

location = myArr.index(7)

This line prints the position of the 7 in the array

print(str("7")+" is at position "+str(location+1))

You might be interested in
Which program assesses and measures improper medicare fee-for-service payments (based on reviewing selected claims and associate
jok3333 [9.3K]

Established the Payment Error Rate Measurement (PERM) program to measure improper payments in the Medicaid program and the States Children's Health Insurance Program (SCHIP)

<h3>What is the Impact of Improper Payments Information Act (IPIA) ?</h3>

The IPIA mandates that agencies adhere to a variety of methodological parameters for computing mistake rates and improper payment estimates in order to achieve consistency in improper payment reporting across federal agencies. When reporting erroneous payment amounts and rates, one obligation is to use gross values. By combining underpayments and overpayments, a gross erroneous payment amount is determined. For consistency, historical figures that were initially provided as net numbers have been converted to gross numbers unless otherwise noted. Denied claims must also be included in the sample, according to the IPIA. For both the May and November reports, the CERT program includes rejected claims in its sample. Only the November report's findings were refuted by the HPMP samples. As a result, calculations for this May report used HPMP denied claims data from the November 2007 report.

To learn more about States Children's Health Insurance Program (SCHIP) , Visit:

<u>brainly.com/question/13034065</u>

#SPJ4

5 0
1 year ago
IOS jail broken or Android unrooted which is better to hack with
Ira Lisetskai [31]
IOS Jail Broken - that is more advanced then an android
3 0
3 years ago
Approximately what percent of desktop PCs are used for work-related purposes?
AnnyKZ [126]

The answer is fifty percent. Approximately there are 50 percent of desktop personal computers or PCs, used for work related purposes. With regards to the rise of mobile gadgets such as cellphones, iPads, and tablets, the number of personal computers being used in work are decreasing as the mobile era rises. Mobile gadgets are widely used in a lot of businesses and jobs today, which makes life easier and convenient.

4 0
3 years ago
3. Which part of the computer is used<br> for typing?<br> a. Mouse<br> b. Keyboard
tatyana61 [14]

Answer:

B. Keyboard

Explanation:

Stay safe, stay healthy and blessed.

Have a good day!

Thank you

7 0
2 years ago
Read 2 more answers
On the food inventory worksheet, enter a function in cell G1 that counts the number of Food Items. What formula would i use!? Th
Nataly [62]

COUNT function

COUNT function determines how many cells in a range contain a number. We use this function to get the number of entries in a number field in an array of numbers. The formula one can use is G1:[…..]: = COUNT(G1:[…..])






3 0
3 years ago
Other questions:
  • You're trying to decide which disk technology to use on your new server. the server will be in heavy use around the clock every
    10·1 answer
  • What is the lowest and highest address of a 2^20 byte memory, if it is byte readable.
    11·1 answer
  • Computer Architecture
    7·1 answer
  • Tom is the aerobics coordinator at a fitness center. He needs a more efficient way for his instructors to share information. Cla
    13·2 answers
  • You can combine the algorithms for converting between infix to postfix and for evaluating postfix to evaluate an infix expressio
    13·1 answer
  • Create an application named TurningDemo that creates instances of four classes: Page, Corner, Pancake, and Leaf. Create an inter
    7·1 answer
  • Identify the terms associated with the given statements below;
    6·1 answer
  • Why do you classify computers?
    6·1 answer
  • What is project scope? a. Quantifiable criteria that must be met for the project to be considered a success b. Products, service
    5·1 answer
  • How to Calculate the area of a rectangle in python
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!