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
Bezzdna [24]
3 years ago
8

Write a function that will receive 5 numbers from a user (inputted one at a time-- use reassignment!) and will count then print

how many of the numbers are odd.
Computers and Technology
1 answer:
katen-ka-za [31]3 years ago
8 0

The program is an illustration of loops.

Loops are used to perform repetitive operations

The function in Python where comments are used to explain each line is as follows:

#This defines the function

def count_odd(mylist):

   #This initializes the count variable to 0

   count = 0

   #This iterates through the list

   for i in mylist:

       #This checks if the current list element is not even

       if not i%2 == 0:

           #If yes, this increments the count variable by 1

           count+=1

   #This returns the count of odd numbers

   return(count)

Read more about similar programs at:

brainly.com/question/18269390

You might be interested in
Marsha is working on a group project and needs to start putting together a slide presentation for the group. Two of her group me
Zigmanuir [339]

Answer:

Apple iWork.

Explanation:

Apple iWork would not work for whole group.

6 0
4 years ago
The collection of programs on a computer is referred to as _______________.​
schepotkina [342]
It is referred to as software

Software consists of an entire set of programs and routines linked with the operation of a computer. In other words, it is a collection of executable instructions that enable you to interact with a computer and its hardware. A computer would be rendered useless without software.

 






5 0
4 years ago
What does a shutter speed of 1 mean
Kruka [31]
<span>Slow shutter speeds allow more light into the camera sensor and are used for low-light and night photography, while fast shutter speeds help to freeze motion. Examples of shutter speeds: 1/15 (1/15th of a second), 1/30, 1/60, 1/125. Aperture – a hole within a lens, through which light travels into the camera body.
Hope this helps : )
</span>
8 0
3 years ago
Read 2 more answers
____ is any technology that aids in gathering information about a person or organization without their knowledge.
DanielleElmas [232]

Answer:

Spyware

Explanation:

In most cases, a spywares are unwanted software enters into your computer or other devices and steal sensitive information, your internet usage data, and other information. Spyware is considered a malware type and a malicious one that is aimed at damaging a device or gaining control and access without the knowledge of the owner.

4 0
3 years ago
A university with remote campuses, which all use different service providers, loses Internet connectivity across all locations.
Anastaziya [24]

Answer:

A & D.

Explanation:

In real time operating system, the best description for this type of attack explained in the question is;

DOS and Race Condition.

Because race condition takes place when 2 or more threads are able to both access and change shared data simultaneously ,while DOS is a good foundation to build a custom made Real time operating system.

Thus, options A & D are correct.

5 0
3 years ago
Other questions:
  • What most distinguishes projects with a strong need for computer animation from projects without such a strong need?
    8·1 answer
  • The following are sources of secondary data except _________. a libraries b data bases c focus groups d syndicated research e sc
    10·1 answer
  • An example of movement as a gameplay mechanic includes
    14·2 answers
  • PLEASE HELPPPPPPP
    15·1 answer
  • Provide examples of the cost of quality based on your own experiences
    14·1 answer
  • HELP BRAINLST!!<br><br> How is labor already being automated in supermarkets?
    9·1 answer
  • 25% of 60 min<br> 20% of 60 min<br> 33%% of 60 min
    14·1 answer
  • Which of the following can be used to enter or display one complete row of information in a range or table without scrolling hor
    10·1 answer
  • Task queues, which allow for asynchronous performance, are an important part of modern processing architectures. Information abo
    13·1 answer
  • Instrument Air system that employ a standby header shall be permitted to have a simplex cooler and dryer. Where a standby header
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!