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

Create a Python program that:

Computers and Technology
1 answer:
Charra [1.4K]3 years ago
4 0

Answer:

```

file = open("trips.txt","r")

file = file.split("\n")

trip_date = []

fuel_used = []

miles_traveled = []

for i in file:

   trip_date.append(i.split(", ")[0])

for i in file:

   fuel_used.append(i.split(", ")[1])

for i in file:

   miles_traveled.append(i.split(", ")[2])

```

This should put the data in their own lists (i didn't test it) but im not going to solve everything for you. The rest is for you to tinker with. You shouldn't throw your question at us and expect an answer. This is the most that I will give you.

Explanation:

You might be interested in
Why do computers need system software?
Marina86 [1]
<span>Computers don't need system software. System software is used to automate many tasks so the user can achieve more. Actually, one of the ideas of computer programming is to avoid needless repetition. The system software will prepare the computer for the user.</span>
5 0
3 years ago
When starting a computer running Windows Vista, a technician sees that the error message "BOOTMGR is missing" appears after the
docker41 [41]

Answer:

B and C

Explanation:

Possible solution to solving "BOOTMGR is missing" error in Windows Vista is to use the Windows Recovery Environment.

Another option is to run "bootrec/fixboot" command from the comman prompt and the command prompt is also accessible from the windows recovery environment.

8 0
3 years ago
if you exit a program without saving the document on which you are working, or the computer accidentally losses electrical power
MrRissso [65]
Depends on which program you are using. Some programs automatically save your work, even if you exit out of it or turn off your computer
6 0
3 years ago
What is a reason for zipping a file?A. to encrypt themB. to return them to their original sizeC. so they display properly on a W
Morgarella [4.7K]

A reason for zipping a file is:

  • D. to combine multiple files into one.

<h3>What is Zipping a File for?</h3>

When a person converts any file to a Zip, it may have one of the following reasons:

  • Reduce the size of the files.
  • Merge files into one.
  • Facilitate the sending of files by mail or others.

Therefore, among the given options, it is possible that a person has as objective to combine multiple files into one, in this way you will be able to find in a single file the information concerning a specific topic and send or transport it more easily.

If you want to learn more about Files, you can visit the following link: brainly.com/question/4461652

5 0
2 years ago
As computer words get larger and larger, there is a law of diminishing returns: the speed of execution of real application progr
otez555 [7]

Answer:

Explanation:

I can pick a reason out of many, and that would be the software. The fact is that, even as they are computers and machines, the softwares themselves have particular design cap. A software that was designed for systems with a narrow word size will most likely have issues as more and more words are used on it. I don't know if you understand what I'm saying, everything has a cap, once that particular meter is approaching, systems tend to slow onwards.

When it comes to the hardware part using the same technology, it might take a longer time to do basic arithmetic on larger inputs.

When you're under using a system, it tends to have a lot of space, excess, to perform its functions, but as soon as it is nearing its limit, it will slow down so as to accommodate all the processes at once.

3 0
3 years ago
Other questions:
  • It is not important to keep financial records since they can all be found online.
    5·2 answers
  • Pat is listing the parts of a computer. Which is the best option to use when formatting the list?
    12·1 answer
  • (asking again because point-hogs exist)
    11·1 answer
  • What set of code correctly initializes all elements of the array ar to the value 0, given the declaration
    12·1 answer
  • HELLO!!!! For instance, will we get an error if we put a space after the word “print” and before the opening parenthesis in pyth
    9·1 answer
  • Simple example of hybrid computer​
    7·2 answers
  • What are 6 subtopics on computer programming ?
    13·1 answer
  • What type of file format is PSD?
    11·2 answers
  • Define print_shape() to print the below shape. Example output:
    8·1 answer
  • Which statement is true about biometrics as an authentication method?​
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!