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]
3 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]3 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
Give examples of an outdated memory or storage device. what do you think is the main reason they are outdated?
omeli [17]

Answer:

floppy discs:

easily damaged, large compared to newer external storage drives, newer computers don't have a floppy disc drive

Explanation:

8 0
2 years ago
Read 2 more answers
We look for trends when we are looking at data. What is a trend?
yulyashka [42]
A subject of what people say at the time, most used, famous at the present time
4 0
3 years ago
Read 2 more answers
SHOW ALL YOUR WORK. REMEMBER THAT PROGRAM SEGMENTS ARE TO BE WRITTEN IN JAVA
Aleks [24]

Answer:

im pretty sure that i don't know  the answer

Explanation:

8 0
2 years ago
By the 1990s, ______________ technology enabled one person operating a desktop computer to control most—or even all—of these fun
snow_lady [41]

Answer: D. Digital

Explanation:

By the 90s many changes were been seen in the global market where we had the digital technology glowing and the flourishing of digital devices which enabled a person to operate desktop computer and many others stuffs

one such contribution of digital technology can be seen in the field of printing machines where we had photooptical printing machines. These machines uses the energy of the photons to allow a beam of light to strike a material but as the digital age started it allowed using computer controlled lasers to photosensitize  printing drums whereby static electricity is laid on the surface of the drum. This technology enables full color press sheets possible.

8 0
4 years ago
Read 2 more answers
Multiple Select
s344n2d4d5 [400]

Since you wrote a program to compare the portion of drivers who were on the phone. The statements are true are option  2, 3, 4 and 5:

2. You could modify the program to allow the user to enter the data.

3. A different set of observations might result in a larger portion of male drivers being on the phone.

4. Even when confident that the mathematical calculations are correct, you still need to be careful about how you interpret the results.

5. It is important to test your program with a small enough set of data that you can know what the result should be.

<h3>What use does a driver program serve?</h3>

A computer software known as a driver, sometimes known as a device driver, that serves as a bridge between the operating system and a device such a disk drive, or keyboard. The device's collection of specific commands must be thoroughly understood by the driver.

In software, a driver offers a programming interface for managing and controlling particular lower-level interfaces that are frequently connected to a particular kind of hardware or other low-level service.

Therefore,  based on the fact that the code you have made is okay, you can make some a notes on what is good and not and then make adjustments.

Learn more about program drivers from

brainly.com/question/28027852

#SPJ1

4 0
2 years ago
Other questions:
  • LITERALLY PLS ANYONE!!! 90 pointsss!
    7·2 answers
  • Define a function below, get_subset, which takes two arguments: a dictionary of strings (keys) to integers (values) and a list o
    8·1 answer
  • A collection of related files that serves as a foundation for retrieving information is a: byte
    12·1 answer
  • Where can you make changes to AutoCorrect?
    14·2 answers
  • Which of the following is NOT acceptable to use as proof of
    12·2 answers
  • is either the number of bits used to indicate the color of a single pixel, or the number of bits used for each color component o
    7·1 answer
  • If a node receives a frame and the calculated CRC does not match the CRC in the FCS,
    12·1 answer
  • The Windows Operating System: A) is a web-based operating system for the Internet era. B) is a data management application used
    15·1 answer
  • Useful open source applications include the popular Web browser Mozilla Firefox, the e-mail application Thunderbird, the relatio
    7·2 answers
  • USPS stuck on "We are preparing your order for shipment" for 3 days. What does this mean?
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!