Complete the code to finish this program to analyze the inventory for a store that sells purses and backpacks.
Each record is composed of the catalog number, the type of item, its color, the length, width, height, and the quantity in stock.
Sample rows of the file are bel[w.
234 purse,blue, 12,4,14,10
138,purse,red, 12.4.14,4
934, backpack, purple, 25,10,15,3
925, backpack,green 25,10,15,7
Answer:
import csv
fileIn = open("data/bags.txt","r")
countPurse = 0
textFile= csv.reader(fileIn)
for bag in textFile:
if bag[ 1 ] == 'purse':
countPurse = countPurse + int(bag[6])
fileIn.close()
print("Number of purses:",countPurse)
Explanation:
I hope this helps!
Write a letter to your friend explaining about the geographical confitions of Nepal's hilly region
Answer:
I don't know............
Which of the following statements best describes the relative amount of content held by digital libraries vs. the amount held by traditional libraries?
Digital libraries have more access to fiction, while traditional libraries have more access to nonfiction and reference materials.
Traditional libraries tend to have access to more information because they have been around longer.
Digital libraries and traditional libraries both tend to have the same access to information.
Digital libraries tend to have access to more information because they can share with other digital libraries.
Answer:
Digital libraries tend to have access to more information because they can share with other digital libraries.
Explanation:
A digital library can be defined as an electronic or cloud-based library where informations and books about various things, places, people, animals, subjects, etc, are kept for readers to access over the internet.
On the other hand, a traditional library is a physical library that people can walk into to read.
The statement which best describes the relative amount of content held by digital libraries vs. the amount held by traditional libraries is that, digital libraries tend to have access to more information because they can share with other digital libraries because they are usually interconnected through network.
What happens when a user clicks Accept on a meeting request?
Other events at that time are canceled, and the meeting cannot be canceled by the organizer.
The agenda is updated with the user’s contact information, and other events at that time are canceled.
The meeting cannot be canceled by the organizer, and the agenda is updated with the user’s contact information.
The meeting organizer is notified, and a copy of the meeting is added to the user’s Outlook calendar.
Explanation:
Other events at that time are canceled, and the meeting cannot be canceled by the organizer.
The agenda is updated with the user’s contact information, and other events at that time are canceled.
The meeting cannot be canceled by the organizer, and the agenda is updated with the user’s contact information.
The meeting organizer is notified, and a copy of the meeting is added to the user’s Outlook calendar.
Answer:
the last one
Explanation:
just did it
The need to upgrade which component would likely lead to replacing the computer?
Answer:
CPU
Explanation:
The CPU is essentially the brain of a CAD system soooo
help? brainliest and point
Answer: second one
Explanation:
sorry lol
What are the four different orchestral instrument families?
Name five string orchestral string instruments.
What are the most common brass instruments used in an orchestra?
Name four percussion instruments.
Name two different categories of orchestra.
HELP PLEASE
sorry btw i dont see a music subject
Answer:
Gutair
Violen
cello
Double Brass
Harp
Explanation:
What would be a suitable device to transfer 12 photos from one PC to another?
Answer:
A memory stick.
Explanation:
A memory stick can be defined as a storage media device with flash memory. They are mainly used in smart or portable electronic devices such as mobile phones, digital cameras, mp3 players, camcorders, etc.
Memory sticks are usually small in size and as such are easily accessible for the transfer of digital files such as images, videos, audios from a portable device or computer to another device such as a computer.
Hence, a memory stick would be a suitable device to transfer 12 photos from one PC to another.
i need help with this chart !
Not in high school but i tried my best to help
(Sorry that its blurry )
what is the correct java syntax to output the sentence: My dog's name is "dee-dee"?
Answer:
System.out.println("My dog's name is \"dee-dee\"");
Explanation:
You need to use the backslash to use quotes inside a string.
Which of the following types of networks covers a range of up to ten meters in distance?
Answer:
is there a pic
Explanation:
Which design element involves the act of lining up objects vertically or horizontally to give a sense of order?
Answer:
The answer is "Alignment".
Explanation:
The Alignment was its positioning of visual elements, such that they're coordinate together with such a structure. This is a layout concept that refers to words or pictures lining up with one page. They use coordination in the layout to coordinate entities, a system similar, equilibrium, framework formation, the connection among aspects, and clear and clear result.
Part of the operating system core is responsible for controlling security, managing the file system, and providing a platform for applications to run on. What is this feature's name
Answer:
Kernel.
Explanation:
An operating system platform is a system software pre-installed on a computing device to manage or control software application, computer hardware and user processes.
This ultimately implies that, an operating system (OS) is essentially an interface between the computer’s hardware and all the software applications (programs) running on it.
Some examples of an operating system are QNX, Linux, OpenVMS, MacOS, Microsoft windows, IBM, Solaris, VM, etc.
Kernel is part of the operating system core. It is responsible for controlling security, managing the file system, and providing a platform for applications to run on.
Basically, the kernel is the foundational or fundamental layer of the operating system (OS) and as such it is loaded into memory whenever the computer system starts to boot i.e the kernel must always reside in the memory of a computer because it is saddled with the responsibility of managing computer resources such as the central processing unit (CPU), peripheral devices, random access memory (RAM) and input/output instructions from software programs.
Coal, nuclear and natural gas power plants all transform thermal energy into electricity
True
O False
Answer:
True
Explanation:
Do you have any sprites for Friday Night Funkin?
I am making mods and any sprites you have are fine. They just need to follow the idle rule and be appropriate :)
Answer:
id.k t
Explanation:
What are some tasks for which you can use the VBA Editor? Check all that apply.
typing code to create a new macro
sharing a macro with another person
viewing the code that makes a macro work
starting and stopping the recording of a macro
modifying a macro to include an additional action
jk its a c e
Answer:
typing code to create a new macro
viewing the code that makes a macro work
modifying a macro to include an additional action
Explanation:
Typing code to create a new macro, viewing the code that makes a macro work and modifying a macro to include an additional action are some tasks for which you can use the VBA Editor. Hence, option A, C and D are correct.
In computer science and computer programming, a data type is a group of probable values and a set of allowed operations. By examining the data type, the compiler or interpreter can determine how the programmer plans to use the data.
If a variable is highly typed, it won't immediately change from one type to another. By automatically converting a string like "123" into the int 123, Perl allows for the usage of such a string in a numeric context. The opposite of weakly typed is this. Python won't work for this because it is a strongly typed language.
The symbol used to create the typecode for the array. the internal representation of the size in bytes of a single array item. Create a new element and give it the value.
Thus, option A, C and D are correct.
For more information about Typing code, click here:
https://brainly.com/question/11947128
#SPJ2