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
How many times do you need to click the format painter button to apply copy formats to multiple paragraphs one right after the o
IRISSAK [1]
U have to double-click for multiple paragraphs instead of single click

5 0
3 years ago
¿Por qué existen diversos diseños para una misma prenda?
stepan [7]

Answer:

Esto se denomina desplazamiento de acentoo. Se utiliza para crear un patrón o estilo

This is called an accent or offset. It is used to create a pattern or style.

7 0
3 years ago
What does RoHS stand for and why is RoHS compliance important?
gladu [14]

Answer:

It stands for Restriction of Certain Hazardous Substances.

Web search says it is important because,

RoHS compliance dovetails into WEEE by reducing the amount of hazardous chemicals used in electronic manufacture. Put another way, RoHS regulates the hazardous substances used in electrical and electronic equipment, while WEEE regulates the disposal of this same equipment.

Explanation:

8 0
3 years ago
Whatis Level of node ‘46’?
Ierofanga [76]

Answer:

6

Explanation:

The  tree is the hierarchical structure in the data structure, it has the properties like nodes, height, level etc.

the formula for calculating the maximum number of node at the given level.

number of nodes = 2^{l-1}

here, l is the level of node.

in the question the number of node is 46.

Substitute in the formula:

2^{l-1}=46\\ l-1=log_{2}46\\ l=5.5235+1\\l=6.6235

The Approx. value of level is 6

5 0
3 years ago
Fill in the blank
Anon25 [30]

Project Management  overview or an  An activity list is the overall work in a project, including, a list of everything that will be delivered to the client.

<h3 /><h3>What is an activity list?</h3>

An activity list is known to be a kind of document that is made up of all the scheduled activities that are said to be down in a project.

Note that all activity includes one or a lot of tasks that, once completed and others.

Since option is not given, answer will be subjective. Project Management  overview or an  An activity list is the overall work in a project, including, a list of everything that will be delivered to the client.

Learn more about project from

brainly.com/question/25009327

#SPJ1

7 0
2 years ago
Other questions:
  • Graphic designers sometimes must adjust the spacing between letters so that the result looks right to them. This is called
    12·1 answer
  • What are the advantage of transistors over vacuum tubes?
    6·1 answer
  • How do you flash your high beams ?​
    10·2 answers
  • When companies want people to think their brand is wholesome, trustworthy, and confident, this is the color most often chosen.
    7·2 answers
  • Different video files and ______ can cause compatibility issues to arise between computer systems.
    8·1 answer
  • Most networking media send data using _____ in which data is represented by only two discrete states: 0s and 1s.
    15·2 answers
  • Create a program with a script that calls the following functions: getinput, calculateGPA, createBor, and printResults. The prog
    6·1 answer
  • Snap Me on <br>samxavier.18​
    12·2 answers
  • This method adds newValue to the list at the specified index. If the index is invalid for the list, throw an IndexOutOfBoundsExc
    13·1 answer
  • How to do the for loop in python
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!