Complete the code.
import CSV
inFile = open('pets.txt', 'r')
myReader =
reader(inFile)
for item in myReader
print(item)

Answers

Answer 1

The complete Phyton code is given below:

Complete the code.

import CSV

inFile = open('pets.txt', 'r')

myReader =

reader(inFile)

for item in myReader

print(item)
exit()

What is a Phyton Code?

Phyton is a high-level, object-oriented programming language. It is easy to learn its syntax and reduces the cost of program maintenance.

In the code above, the last line exit() was included to complete the code and to signal to the computer that that is the end of the instruction.

Please see the link below for more about Python Program:

https://brainly.com/question/12684788

Answer 2

Answer:

cvs.reader(inFile)

Explanation:


Related Questions

Fill _________ skips the Saturday and Sunday dates in a date fill.
A. Weekends
B. Weekdays
C. Skip Weekends
D. Skip Saturday and Sunday

Answers

A. Weekends is the correct answer

Universal Containers is designing a new community using the Customer Community license type. They would like to have the users complete survey questions through the community interface and store the responses in a Custom Object that has a lookup to the account object. Any internal user who has access to the account should be able to see all survey responses. All Customer Community users should be able to see surveys filled in by other users for their company, but not surveys for other companies. What are the correct security settings to achieve this

Answers

Answer:

The correct option is B. Set all Organization-Wide Default security to be "Private" for both internal and external users and use Sharing Rules to grant the desired access.

Explanation:

Note: This question is not complete as the options are not included. The complete question with the options is therefore provided before answering the question as follows:

Universal Containers is designing a new community using the Customer Community license type. They would like to have the users complete survey questions through the community interface and store the responses in a Custom Object that has a lookup to the account object. Any internal user who has access to the account should be able to see all survey responses. All Customer Community users should be able to see surveys filled in by other users for their company, but not surveys for other companies. What are the correct security settings to achieve this?

A. Set all Organization-Wide Default security to be "Public Read/Write" for internal users and "Private" for external users.

B. Set all Organization-Wide Default security to be "Private" for both internal and external users and use Sharing Rules to grant the desired access

C. Set all Organization-Wide Default settings to be "Public Read/Write" for both internal and external users.

D. Set the custom object to be master-detail to the Account and leave the Organization-Wide Default settings as their default values.

The explanation of the answer is now provided as follows:

Organization Wide Default security refers to settings that provides most restrictive settings that may be opened up by Role Hierarchy and Role hierarchy can be opened by Sharing rules. And the visibility of records at the record level is determined by all of these factors. Private, Public Read, Read/Write, and Read/Write & Transfer are the four permissions available in Sharing Rules.

The rules that are used to offer sharing access to users in public groups, roles, or territories are referred to as sharing rules. By introducing automatic exceptions to your org-wide sharing policies, sharing rules allow certain users more access.

By implication, the correct security settings to achieve the objective stated in the question is to set all Organization-Wide Default security to be "Private" for both internal and external users and use Sharing Rules to grant the desired access.

Therefore, the correct option is B. Set all Organization-Wide Default security to be "Private" for both internal and external users and use Sharing Rules to grant the desired access.

which site uses both social bookmarking as well as visual sharing features and is described as a virtual pinboard?

Answers

Answer: Redd-it

Explanation:

The site that make use of both social bookmarking and visual sharing features and is also described as a virtual pinboard is Redd-it.

Reddit refers to a discussion webiste and a web content rating where the members submit their contents like images, links, text posts and videos. These are then either voted up or voted down by the members based on their perception on the post.

You suspect that your web server has been the target of a denial-of-service attack. You would like to view information about the number of connections to the server over the past three days. Which log would you most likely examine

Answers

Answer:

Performance log

Explanation:

The Windows Performance Logs and Alerts, is a service that monitors and collects the performance data on resources, processes, threads, cache, memory, and processor, dependent on parameters which are preconfigured and scheduled, and logs the data or results in an alert

The service can be enabled from the file perfmon.exe

From the logs, troubleshooting the security of the system can be performed by monitoring file access, unusual or unauthorized activities, network connections, unusual system behavior, error messages and unusual network behavior

which of the following is not a storage medium?
a.microphone
b.floppy disk
c.hard disk
d.pen drive

Answers

Answer:

microphone

Explanation:

when you are using a microphone once it stop it done

A microphone is not a storage medium.

Select the correct answer.
How are cells in a spreadsheet named?

A.
based on the header of the row they are in
B.
based on the header of the column they are in
C.
based on the row and column they are in
D.
by right-clicking them and giving them a name

Answers

Answer: its C

Explanation:

Answer:

C: Based on the row and column they are in.

Explanation:

Sells have spreadsheet but only one main system of our body. thus. forum of inside to cupture the entire blood to spread and make other resources from our body.

HOPE IT HELPS!

You need to replace a broken monitor on a desktop system. You decide to replace it with a spare monitor that wasn't being used. Even though the monitor is made by a different manufacturer than the desktop computer, it still works with the computer. Which computer design concept makes this possible

Answers

Answer:

standardization

Explanation:

A problem can be defined as an issue or challenge encountered by a person, which typically requires a solution.

Generally, problems are considered to be either simple or complex depending on the individual, parameters, and factors involved.

This ultimately implies that, problems are relative in nature but always require that a solution be proffered.

In this scenario, a broken monitor on a desktop system needs to be replaced. You then decided to replace the monitor with a spare monitor that wasn't being used.

Although, the spare (replacement) monitor was manufactured by a different manufacturer than the desktop computer but it still worked with the computer. Thus, the computer design concept which makes this possible is referred to as standardization.

Standardization can be defined as a design concept which avails users the opportunity to use various components from different manufacturers interchangeably without any defect or compromise of the integrity of a system. The most important criteria to be considered is if the components meet set standards i.e specifications of the system.

Why making sustainable food choices is better for the environment and the disadvantages or negative effects when not choosing sustainable food products may have.

Answers

Answer:

Question 1:

I. It will help to reduce or eliminate wastes

II. It will help to conserve energy

III. It will help to improve the quality of life.

Question 2:

I. It will lead to environmental pollution

II. It will lead to poor quality of products

III. It will deplete the natural resources and energy.

Explanation: Sustainable food choices are the various choices and decisions we make when choosing the various processes and activities required to produce,process and consume food with the aim of ensuring that energy is conserved, pollution is reduced or eliminated, energy and the natural resources in and around the environment are effectively utilised to help improve the quality of life and environmental. There are several negative consequences of not adopting sustainable food products which includes pollution, energy depletion, poor quality of life etc.

Match each code snippet to its appropriate markup language name

Answers

Answer:

Please find the complete solution in the attached file.

Explanation:

(a) How many copies of the book titled "The Lost Tribe" are owned by the library branch whose name is "Sharpstown"? (b) How many copies of the book titled "The Lost Tribe" are owned by each library branch? (c) Retrieve the names of all borrowers who do not have any books checked out. (d) For each book that is loaned out from the Sharpstown branch and whose DueDate is prior to "September 1, 2018", retrieve the book title, the borrower’s name, and the borrower’s address. (e) For each book authored (or coauthored) by Stephen King, retrieve the title and the number of copies owned by the library branch whose name is "Central". (f) Retrieve all book titles that are available in "Sharpstown" branch but not in "Morristown" branch. (g) Retrieve book titles that are available in all library branches in the database.

Answers

Answer:

a) SELECT No_of_copies

FROM ((book JOIN book_copies) JOIN library_branch)

WHERE title = 'The Lost Tribe' AND branchname = 'Sharpstown';

b) SELECT branchname, No_of_copies

FROM ((book JOIN book_copies) JOIN library_branch)

WHERE title = 'The Lost Tribe'

GROUP BY branchname;

c) SELECT Name

FROM borrowers B

WHERE cardno NOT IN ( SELECT cardno FROM book_loan)

d) SELECT title, name, B.address

FROM (((book JOIN book_loan) JOIN library_branch) JOIN borrowers B)

WHERE duedate = '09/01/2018' AND branchname = 'Sharpstown';

e) SELECT title, No_of_copies

FROM (((book JOIN book_authors) JOIN book_copies) JOIN library_branch)

WHERE authorname = 'Stephen King' AND branchname = 'Central';

g) SELECT DISTINCT title

FROM ((book JOIN book_copies) JOIN library_branch)

Explanation:

The SQL statements query's a book store database of seven relations using joins and subqueries to return results.

What special signal is issued periodically from an Access Point and contains the network transmission rate and service set identifier (SSID), as well as other information needed for a computer to associate with the AP

Answers

Answer:

beacon frame  

Explanation:

Beacon frame is a management frame In computer networks, known to be in IEEE 802.11 based WLANs. These frames are transmitted periodically and they contain all the  information a station will require before it can rightly transmit a frame.  

When it comes to announcing the presence of devices in a wireless computer network (WLAN), Beacon frames are used, and they can also be used in the synchronization of the devices and services

Pixar is a company that creates a huge amount of images, audio recordings, and videos, and they need to decide what compression algorithms to use on all those files. When would Pixar most likely use lossless compression

Answers

feels like im getting outta touch, maybe im juust staying inside too much, lately its getting harder to pretend i can do this alone without my friends

defination of Wi-Fi plz​

Answers

Answer:

A facility allowing computers,smartphones and other devices to connect to the internet or communicate with one another wirelessly.

Select the correct answer from each drop-down menu.
Complete the sentence about emphasizing data in a worksheet.

Formatting a cell can refer to _____ formatting and to ____ formatting.

First blank:
1. Unhiding
2. Inserting formulas in
3. Highlighting

Second blank:
1. Changing the font size in the cells that contain the data
2. Moving the data to a separate row or column
3. Creating a header for the row in which the data appears

Answers

Answer:

Highlighting

Changing the font size in the cells that contain the data

Explanation:

I got it right on the Edmentum test.

The complete sentence about emphasizing data in a worksheet is given below:

Formatting a cell can refer to highlighting formatting and to changing the font size in the cells that contain the data formatting.

Thus, the correct options for blanks are C and A respectively.

What is data formatting?

Data formatting may be defined as the process of organization of information according to preset specifications usually for computer processing in order to execute with respect to the instructions.

The concept of data processing deals with the sequential arrangement of sources and information on the basis of certain specifications. The formatting of a specific cell refers to highlighting them for easy identification.

The process of formatting must be done in order to alter the size of the font within the cells that significantly contain the data.

Therefore, the correct options for blanks are C and A respectively.

To learn more about Data formatting, refer to the link:

https://brainly.com/question/25051360

#SPJ2

I got a question in computer science I don't understand, can someone please help.​

Answers

Answer:

Hi, this program allows you to calculate a sphere’s area and volume depending on the radius of your choosing.

Please give brainliest, means alot!

What will be the results from running the following code?
print("Grades")
print(92)
print(80)
print("Total")
print(92 + 80)

Answers

Answer:

Grades

92

80

Total

172

Explanation:

Python is a very simple language, and has a very straightforward syntax. It encourages programmers to program without boilerplate (prepared) code. The simplest directive in Python is the "print" directive - it simply prints out a line (and also includes a newline, unlike in C).

Answer:

Grades

92

80

Total

172

Explanation:

Which elements most affect the voice of an academic paper? Check all that apply.

Answers

where are the options

Answer:

C

Explanation:

What anime is sama from

Answers

Answer:

u talking about Kaichō wa Maid-sama? idek there is a lot

Explanation:

What would be the purpose of grouping worksheets in a workbook?
All formatting would be done on all sheets at once.
All header rows would be shared on all sheets at once.
All data entered would be entered on all sheets at once.
All formulas entered would be entered on all sheets at once.

Answers

Answer: A

Explanation:

"NOTE: write an algorithm, not a code" You are given a file called "std" and composed of "Number, Name, Address" fields. (You can define the type of fields by yourself) Write an algorithm that makes "insert, delete, update and retrieve", processes on the records in the file. "Number" field is the key of each record. Here is the template of report: Steps Actions 1 Name of the report and date 2 Author of report 3. Literature review 4. Your contribution 5 Explanation algorithm and sub algorithms 6 Summary 7. Future advice 8. References

Answers

Answer:

1. get the absolute path to the file

2. load the file as a table (dataframe in python)

3. to insert a row;

create a dataframe of the same field typeconcatenate the new dataframe horizontally with the same dataframe

4. to delete a row, select and drop the row where the 'Number' field matches a value.

5. to update the values in row, use the number field as a key to replace the existing values.

6. print of save to a variable the rows where the number field matches a given value.

Explanation:

Follow the report template to create a report for the algorithm.

The algorithm gets the absolute path to the file and loads the file as a tabular file from there the data can be queried without accessing the main file. The insert algorithm creates a new dataframe and appends it to the main dataframe.

The delete, update and retrieve all use the same subalgorithm, getting the rows with the number field as the key value.

My pc is not reproducing sound

Answers

Answer:

check your settings try to seek your audio settingfix it

brain of the computer system is called​

Answers

Answer:

The CPU (Central Processing Unit) 

The first field of an Internet Control Message Protocol (ICMP) packet specifies the message type. Which choices represent message type examples? Check all that apply.

Answers

Answer: destination unreachable

time exceeded

Explanation:

You didn't give the options to the question but based on a similar question there I got online, the answer will be destination unreachable and time exceeded.

The Internet Control Message Protocol (ICMP) refers to a protocol that is used in the communication of problems with regards to the transmission of data. Based on the information given, the choices that represent message type examples are:

• destination unreachable

• time exceeded

Which avenue may utilize video streaming, audio narration, print designs and animation?

The (blank) may utilize video streaming, audio narration, print designs and animation.

Answers

Answer:

Multimedia avenue.

Explanation:

A file type is the standard used to store data such as pictures, texts, videos, and audios. All file types have unique file extension that determine which program to use to open a particular file and to access its data e.g pictures (jpeg, png), texts (txt, docx, rtf), videos (mp4, 3gp, avi), audios (mp3, acc).

Sometimes, computer users make the mistake of opening files with the wrong software application or program, this often leads to an error due to the incompatibility of the software application with the particular file.

Basically, all software applications are designed and developed for use with specific file extensions or formats and as such, when used to open a file it isn't developed for, it result in an error.

A multimedia avenue refers to a channel that is designed and developed to accept, utilize and combine various file formats such as audio, video, text, animation effects, etc. A common example of a multimedia avenue is Microsoft PowerPoint software.

Hence, the multimedia avenue may utilize video streaming, audio narration, print designs and animation.

this is used to copy information from cell to cell in the spread sheet

A. active cell
B. Auto fit
C. Grid lines
D. Fill handle

please help me with this

Answers

Answer:

D. Fill handle

Explanation:

Required

Which can be used to copy from cell to cell

(a); Means the current cell being selected in the spreadsheet program

(b): Used to fit all columns in the spreadsheet program. Usually, the columns are fitted based on their width.

(c): The vertical and horizontal lines that separate cells.

(d): This is used to copy from one cell to another, especially adjacent cells.

Using Internet resources, find at least five organizations that offer Software as a Service (SaaS). How do their services benefit their users?

Answers

Answer:

1. Antenna Software

2. Cloud9 Analytics

3. CVM Solutions

4. Exoprise Systems

5. GageIn

Explanation:

1. Antenna Software - It has five gateways to routes and manages all transactions between the mobile applications and backend systems

2. Cloud9 Analytics - manages the warehouse separately from the solutions

3. CVM Solutions - Enables  users to "clean" supplier information and  to centralize and standardize information

4. Exoprise Systems - It avoid use of complex database and Web servers

5. GageIn - It uses Networking and social tools to connect users and facilitate communications

Answer:

1. Antenna Software

2. Cloud9 Analytics

3. CVM Solutions

4. Exoprise Systems

5. GageIn

Explanation:

defination of formula work sheet​

Answers

Explanation:

formula is an equation that makes calculations based on the data in your spreadsheet. Formulas are entered into a cell in your worksheet. They must begin with an equal sign, followed by the addresses of the cells that will be calculated upon, with an appropriate operand placed in between.

Where is shoto from

Answers

Answer:

Shoto Todoroki is from "my hero academia" my dude

Explanation:

____ feet is used when the width of the material is not a factor. (6 letters)

Answers

Answer:

footin dhhdhdn bsbsbdb

RELIGION QUESTION

What is the meaning of prayers of adoration and thanksgiving:

Answers

Answer:

prayer is to give thanks to god for everything he has done for you, so is thanksgiving and adoration

Explanation:

Other Questions
A student said that the volume of a cone with a 4-inch diameter is two times the volume of a cone with the same height and a 2-inch radius. What is the error? Find the value of x.2x20A. 80B. 10C. 35O D. 45 Is a 12 oz. bag of takis chips for $3.40 better than a 3 oz. bag of takis chips for $0.75 ?? What happened to Eurydice after Orpheus retrieved her?A. Hades collapsed on on Euridice, and she died.B. Orpheus looked at her when he wasn't supposed to, and she faded away.C. Eurydice was saved from the Underworld. A puppy weighs534pounds.How many ounces does the puppy weigh? QUESTION 3A company has the following budgeted data for its first year of operation: Per unit Direct materials 1.30 Direct labour 1.50 Variable overhead 0.20 Fixed overhead 1.00(150,000 / 150,000 units of normal volume) Total standard factory cost 4.00 Selling price 5.00 Other expenses: Fixed selling and administration overhead 65,000 Sales commission 5% of sales value Production and sales in units Opening stock Nil Production 170,000 Sales 140,000 REQUIRED Prepare a budgeted profit statement for the first year of operation using: i. absorption costing principles (10 marks) ii. marginal costing principles (10 marks)(Total 20 marks) plzzz help write a paragraph or more i need a summer job and i need to convince my gradian plz include there's pointsThe reasons why I should get a job-I have good grades (average 85%)- a job Will teach me responsibility,-They won't have to pay for my stuff-I can buy things that I want to get-I can put it on my resume-I can save up and invest in stocks-It will just be a summer job Which of the following would NOT be an author's purpose?O a. To entertainOb. To persuadeOc. To distractOd. To inform The bank that is ordered to pay the money of a check is the A.drawerB. drawerC.bankerD. Bank If u can, Can u show the working on typeing it or just tell the answers;) Find the value of h.Question 6 options:A) 51.995B) 28.321C) 62.003D) 95.476 How many moles would be in 85.OmL of 0.750M KOH? Which graph represents a proportional relationship? On a coordinate plane, a straight line with positive slope goes through points (0, 0), (1, 2), and (2, 4). On a coordinate plane, a vertical line is at x = negative 3. On a coordinate plane, a horizontal line is at y = 3. On a coordinate plane, a curved line goes through the origin. How much would $300 invested at 7% interest compounded continuously be worth after 4 years? Round your answer to the nearest cent. Which of the following represents 2x-5y + 15 = 0 written in slope-intercept form?Oy=x+3Oy=2x-3Oy=-3x+3 Please someone help me what is the value of c ? Venny Had 5 friends she ate 3 of them. The rest ran away. How much friends dose she have now? Find the missing parts (I will give brainliest) Which statements describe one of the transformations performed on f(x) = x2to create g(x)= 3(x+ 5)2 -2 ? Choose all that apply.