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
Karo-lina-s [1.5K]
2 years ago
14

Python pseudocode: Can anyone please help me please? I’m so desperate for the answer.

Computers and Technology
1 answer:
Katena32 [7]2 years ago
8 0

Answer:

You need “input(prompt)” and “sum(iterable)”

Explanation:

import numpy

class Students:

   def __init__(self, students_size, marks_size):

       self.students_size = students_size

       self.marks_size = marks_size

   def input_name(self):

       return input("Name of the student:")

   def input_marks(self):

       for __ in range(self.marks_size):

           yield int(input("Mark:"))

   def input_students_data(self):

       for __ in range(self.students_size):

           name = self.input_name()

           yield name, list(self.input_marks())

if __name__ == "__main__":

   students = Students(students_size=3, marks_size=5)

   name = numpy.empty([students.students_size], dtype="<U100")  

   # more space might be needed for long names      

   marks = numpy.empty([students.students_size, students.marks_size])

   for i, (student_name, student_marks) in enumerate(                        

           students.input_students_data()):

       name[i] = student_name

       marks[i] = student_marks

       total = sum(student_marks)

       print("total: {:g}, average: {:g}".format(total, float(total)/students.marks_size))

You might be interested in
What happens it the offshore team members are not able to participate in the iteration demo due to time zone/infrastructure issu
professor190 [17]

The best option that will suite is that there will be no major issues since the offshore leads and the onsite members participated in the demo with the Product Owner/Stakeholders they can cascade the feedback to the offshore members

Explanation:

Iteration demo is the review which is done to gather the immediate feedback from the stakeholders on a regular basis from the regular cadence. This demo will be one mainly to review the progress of the team and the and to cascade and show their working process

They show their working process to the owners and they and the other stakeholders and they get their review from them and so there will be no issues if the members are not able to participate

5 0
3 years ago
Computer programming is an essential skill for anyone wishing to pursue a career in cybersecurity. What might be a good ""first
Jet001 [13]

Answer:

Python is the correct answer.

Explanation:

Python Programming Language is might be good for those programmers who are beginners because the following Language is quite easy and simple to learn. When any programmer using Python Language for the programming then, they easily write their program because of its simplicity, it is easy and quick for learning language. This language creates program easy and short.

3 0
3 years ago
Just help :(((((((((((((((((((((((((((((((((((
saveliy_v [14]

Answer:

I am sure the answer is A

Explanation:

As you can see from the graph, the first time they pumped air, the numbers were 6, 1.2, and 2. Once they start pumping the numbers decrease. Therefore, I think the answer is A. It went to 5.7, 4, and 2 from 6, 1.2, and 2.1.

5 0
2 years ago
Which is the highest level of the hierarchy of needs model?
quester [9]
It’s intrapersonal...so it’s b
5 0
3 years ago
Read 2 more answers
Please discuss what you consider to be some of the biggest challenges your company will face when working from the Linux command
Nastasia [14]

Answer:

Command remembering issues.

Explanation:

The biggest challenge my company will face when working on Linux is remembering issues of the commands. The commands in Linux are a bit difficult to remember as they are complicated bit but practice can solve this issue. "Practice makes a man perfect" this well known saying suggests that practice can make perfect and this well known saying also works with Linux the more practice the employees do the more perfect they get.

3 0
3 years ago
Other questions:
  • How can you tell if a hacker has administrative access?
    15·2 answers
  • A/An ___ is a series of instructions or commands that computer follows used to create software
    10·2 answers
  • Do Violent Video Games Make People More violent in Real Life ?
    14·1 answer
  • A personal career profile for can be used to match what you know about yourself to what you know about different careers
    7·2 answers
  • Given a one dimensional array arr, what is the correct way ofgetting the number of elements in arr
    15·1 answer
  • you just finished creating an expense report table, but your boss tells you to create an extra column representing non-productio
    5·1 answer
  • _____ _____ deals with the definitions properties of mathematical models of computation.
    8·1 answer
  • You have stumbled on an unknown civilization while sailing around the world. The people, who call themselves Zebronians, do math
    11·1 answer
  • You want to use a terminal program to terminal into a cisco router. what protocol should i use
    8·1 answer
  • MORE FREEE POINTS AYEEE
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!