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.

Answers

Answer 1

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:

https://brainly.com/question/18269390


Related Questions

what are the different forms of auto form?​

Answers

Answer:

There are two types of AutoForm—the New Object: AutoForm and the builder-based AutoForm. The New Object: AutoForm generates a very simple and uninspiring data entry form. The builder-based AutoForm creates five different types of forms: Columnar, Tabular, Datasheet, PivotTable, and PivotChart.

SOMEONE WHO ACTUALLY KNOW HOW TO DO THIS PLEASE DO IT AND SEND A SCREENSHOT I REALLY NEED IT FOR MY EXAMS AND DONT TROLL ​

Answers

What computer do you own?

List down 5 elements of Multimedia

Answers

Answer:

text, image, audio, video, animation

Answer : The five elements of Multimedia are text, images, audio, video and animation.

Hope This Helps You.

The USGS and National Weather Service have many sensors collecting data about natural events.

That data can be used to create a weather map.

Identify the parts of the Input-Process-Output model for each step.


(output, input, process): weather map displayed on a web page


(output, input, process): determination of color to be used on the map


(output, input, process): sensors collect temperature and precipitation data

Answers

Answer:

Explanation:

Throughout many regions on the chart, a standard plotting code demonstrates air currents speed and direction, average temperature and relative humidity, barometric pressure and its change over the previous hours, the number and variety of clouds, the weather type, including visibility restrictions, and the amount and type of precipitation.

USGS and National Weather Service

As per the question, the USGS  and National weather services are mapping out the region to collect the data for the natural events. The data is collected in the form of maps and is used for the identification of the input and the output model steps.

The answer is precipitation data, visibility data.

The NWS is a federal agency of the united stated that is tasked to prove the forecasts and for the formation of hazardous weather events and warns the public of the related events.

Learn more about the National Weather Service

brainly.com/question/17774978.

The frame rate is the result of multiplying the length of the film times its width

True or False

Answers

Answer:

False

Explanation:

frame rate is how many frames are shown per second in a video

the length of the film times the width is the resolution. not frame rate

help me i'll brainiest if its right

Answers

Answer:

Your response is correct.

I hope this helped at all.

Answer:A

Explanation: by limiting the amount of thermal energy that flows  out of the drink keeps it nice and taste :D

In the 1990s, DVDs replaced audiocassettes and floppy disks as the storage media of choice for music and computers. At which stage of the product life cycle is the DVD today

Answers

Answer:

Maturity

Explanation:

What is an FPS? Describe the acronym as it applies to video games and explain two games popular in the 2000s that flourished in this game category.

Answers

1. Short for frames per second, fps is a measure of how many full screen, still images are captured or displayed in one second of video recording/playback or video game play.

who is the father of computer?
a.jeff bezos
b.cgarles babagge
c.micky pointe
d.marlos carten​

Answers

Answer:

Explanation:

B.

Time shifting occurs when _______. A. Clocks move ahead one hour in the spring b. Works are copied and kept for future generations c. Individuals copy works to view at a later time d. Copyrighted materials comes into the public domain.

Answers

Answer:

c. Individuals copy works to view at a later time

Explanation:

Time Shifting: Recording a program to a storage medium to be consumed at a later date.

Time shifting occurs when Individuals copy works to view at a later time. The correct option is c.

What is time shifting?

As the name implies, time shifting is the shifting of a signal in time. This is accomplished by adding or subtracting a shift quantity from the time variable in the function.

Time shifting or Shifting a signal in time means that the signal is either delayed or advanced in the time axis.

Other space shifting processes include time shifting, which involves recording a radio broadcast and listening to it later, and format shifting, which involves converting a media file into a different format.

You can watch a show at separate moments of the day by changing the time. When people copy works to view later, they are time shifting.

Thus, the correct option is c.

For more details regarding time shifting, visit:

https://brainly.com/question/11563105

#SPJ5

What is the smallest unit of data in a computer? *
a) byte
b) terabyte
c) bit
d) bistable device

Answers

the smallest unit of data in a computer is bit

What is a megavirus in computing

Answers

In the lab experiments conducted by Professor Claverie and colleagues, in which they infected fresh-water amoebas, Megavirus was seen to construct large trojan organelles - the "cells within cells" that would produce new viruses to infect other amoebas.

If you want to excel in the field of web design, what must you be able to make and keep?
price estimates
statement of work
final deadlines
promises

Answers

Answer:

You  need to beable to make final deadlines because maybe if your adding divs or maybe something takes a bit long for you to do you need to give the person your working for an idea of what and why you may take long to get your website polished.

Explanation:

Answer:

B. final deadlines

Explanation:

edg 2021 (got 100%)

what is not an example of a changing operating space?

Answers

What is not an example of a changing operating space? A parking garage. Riley is driving down the highway when the road starts curving to the right.

Parking in garage is not an example of a changing operating space.

What is operating space?

When an operating space is said to be "changing," it usually means that the environment around your car is deteriorating or switching from an open to a closed state.

Operational Spaces are the space(s) inside the Facilities from which the Concessionaire shall have the right, privilege, and obligation to continuously and for the duration of the Term operate its concession in accordance with the terms and conditions of this Agreement.

Distractions while driving, such as texting and using a phone, driving dangerously, such as going too fast or following too closely.

Driving when intoxicated. While drinking and driving is not especially high among novices, it produces a disproportionate number of fatal crashes.

Thus, parking garage is the answer.

For more details regarding operating space, visit:

https://brainly.com/question/9339555

#SPJ6

Describe the type of gameplay seen during early video games (ex. Spacewar!, Pong).

Answers

Sandbox. ... Real-time strategy (RTS) ... Shooter (FPS and TPS) ... Multiplayer online battle arena (MOBA) ... Role-playing games (RPG, ARPG, and more) ... Simulation and sports.

- BRAINLIEST answerer

Lol yeah I agree w the person above, I don’t wanna copy

A(n) ___________ allows people at two or more locations to interact via two-way video and audio transmissions simultaneously as well as share documents, data, computer displays, and whiteboards.

Answers

Answer:

A(n) videoconference allows people at two or more locations to interact via two-way video and audio transmissions simultaneously as well as share documents, data, computer displays, and whiteboards.

Raina remembered when she taught Amara to draw. What happened?

Answers

Sisters is an autobiographical graphic novel written by Raina Telgemeier as a follow-up to her earlier graphic memoir Smile. It details a long summer road trip taken from San Francisco to Colorado by her family and explores the relationship between Raina and her younger sister, Amara.

- BRAINLIEST answerer

7.4 Lesson Practice (projectstem): what is output if the user is enters 2?​

Answers

Answer:

18

Explanation:

lets go step by step.

the function called tryIt has a value, a variable named "a". this "a" variable will be whatever the user enters when the program says, Enter a number.

ok so if we enter "a" as 2, and b in the function will always be 7, and 2 + 7 equals 9,

and the ans variable (short for answer) will take the result of the function (9) and multiply it by 2,

then the answer is 18

Anote los tipos de direcciones de IP que existen.​

Answers

Answer:

ENGLISH PLEASE.

Explanation:

A ______________ utility provides an overview of your files and lets you rename, delete, move, and copy files and folders.

Answers

Answer:

File Management Utility

Explanation:

File Management Utility is a computer software that help to browse, search, arrange, find information, and quickly preview the files of the system.

An electronic element that stores data by changing its resistance based on the current that has passed through it (similar to RRAM) is called a(n) ___ .

Answers

Computer data storage

An electronic element that stores data by changing its resistance based on the current that has passed through it, similar to RRAM (Resistive Random Access Memory), is called a Memristor.

What is memristor

The term "memristor" is a combination of "memory" and "resistor," indicating its ability to retain information based on its resistance state.

Memristors are considered a fourth fundamental passive circuit element, alongside resistors, capacitors, and inductors.

Learn more about electronic element at

https://brainly.com/question/24977425

#SPJ2

Coordination in a global information system requires a _____ architecture for data, standardization within departments.

Answers

Coordination in a global information system requires a decentralized architecture for data, standardization within departments

quadratic equation 4

Answers

In algebra, a quadratic equation is any equation that can be rearranged in standard form as ax^{2}+bx+c=0 where x represents an unknown, and a, b, and c represent known numbers, where a ≠ 0. If a = 0, then the equation is linear, not quadratic, as there is no ax^2 term.

HOPE IT HELPS:)

how do you play pokemon go

Answers

Download the app and make an account hope this helps!

Answer:

download the app then tap your screen for the rest of your life

(And I'm being serious)

To delete a database object, press and hold or right-click the object in the Navigation Pane and then tap or click ____ on the shortcut menu.

Answers

Answer:To delete a database object, press and hold or right-click the object in the Navigation Pane and then tap or click Delete on the shortcut menu.

Explanation:

Hope I could help. Have a nice time there.

________ is the art of manipulating people into breaking normal security procedures or divulging confidential information.

Answers

Answer:

Social engineering is a process of manipulating people into breaking normal security procedures or divulging confidential information.

Explanation:

In Linux, most applications and commands are in the ____ directory or its subdirectories bin and sbin.

Answers

On a Linux computer, most of the software applications are saved in the /usr directory or in its subdirectories named, bin and sbin.

A Linux can be defined as an open-source and community-developed operating system (OS) that is designed and developed for the following electronic devices:

Mainframes. Computers.Embedded systems.Mobile devices.

Generally, the Linux operating system (OS) is based on UNIX and it is typically released under the GNU general public license (GPL).

On a Linux computer, the commonly used directory for saving most software applications is the /usr directory or sometimes its subdirectories named, bin and sbin.

Read more: https://brainly.com/question/20629962

The use of computer systems to distribute potentially harmful information is called:
A) Propaganda
B) Cyber security
C) Computer fraud
D) Industrial espionage

Answers

Answer:

cyber security I think that is what it is

Explanation:

m

A cyber security is the distribution of malware and other server attack that are aimed at destroying the integrity of the system and is also called as the information compromise.

There are various tools and techniques that can be used to protect and save from such harmful attacks. Other attacks include cyber fraud and are done to distribute the harmful information.

Hence the option B is correct,

Learn more about the computer systems to distribute potentially.

brainly.com/question/25705570.

The type value ____ for the input element may cause modern browsers to validate entries to ensure that they are valid web addresses.

Answers

Answer:

url

Explanation:

using numerous computers to inundate and overwhelm the network from numerous launch points is called

Answers

Using numerous computers to inundate and overwhelm the network from numerous launch points is called: a DDos attack

Other Questions
can some one help me As Luke tries to push the door open, it swings open easily. It is being pulled by their Mom and Dad on the other side.Dad: Luke! Mischa! Are you okay? Your Mom and I were so worried. We tried to find you, but the storm kept us from getting to you until now.Mom: (overjoyed) You found them? Oh Mischa, Luke! You must have been so scared. (Hugging them) I was so worried.Mischa: (Holding the sack of apples.) We're so happy to see you! (Handing the apples to her mother) We picked you some apples.Luke: And you'd better make the best apple pie ever after all of that.The whole family laughs as they hug each other.The author added humorous dialogue to tie the events in the scenes together, to show that everything was okay, and bring the play to a close.Select evidence from this play that supports the author's points. As Luke tries to push the door open, it swings open easily. Dad: Luke! Mischa! Are you okay? Your Mom and I were so worried. Luke: And you'd better make the best apple pie ever after all of that. Mom: (overjoyed) You found them? Oh Mischa, Luke! You must have been so scaredWILL MARK BRAINLIEST( NO LINKS ) What is the value of 1027A. 100B. 1,000C. 10,000D. 100,000 This map reflects that Canada joined with the Paris Agreement before the United States joined with the Paris Agreement in a commitment to reduce emissions refused the Paris Agreement along with other countries in order to reduce emissions around the world refused the Paris Agreement along with other countries as a violation of its own national sovereignty When Finance Director Debeneditti discusses the use of groups within her organization, what does she mention needs to be avoided so that groups can be as effective as possible? Suppose that a department contains 8 men and 17 women. How many ways are there to form a committee with 6 members if it must have strictly more women than men pls help with khan academy A hunter-gatherer society begins to adopt an agricultural lifestyle. Which of the following will most likely happen?A) Its effects on the environment will decrease.B) Its population will increase significantly.C) Its need for specialization and stratification will decrease. The simple process of counting the number of observations (cases) that are classified into certain categories is called How are glucose and ethanol similar in structure and function? Read the passage from The Beginnings of the Maasai.Neiterkob was confused at first. It was one thing for an eruption to send cows flying up into the sky, but it was another problem entirely to get them down to earth again. The wise god knew how to solve the problem. Enkai grew a giant fig tree out on the plains. The tree grew rapidly, and its branches grew so high that they reached up into the heavens. One by one, Enkai sent the cattle walking down branches of the fig tree, all the way down to the roots at the ground. My father and our people accepted the cattle and began to herd them with the sticks that Enkai had given us. Now, the rest of the tribe calls my father the Beginner of the Earth because he mediates between Enkai and our tribe, just as he did when the cattle returned from the sky.What does the passage explain?a natural phenomenona peoples culturethe origin of a peoplethe reason for the weath The annual percentage rate (APR) of a loan is different from the interest rate because it:A. includes charges and fees.B. includes the rate but not the fees and charges.C. is calculated from the remaining interest owed.D. only covers the interest for a year. write each power as a product of the same factor. Then find the value. 4^4 What are cyclotrons and how are they used? Fibd the distance and midpoint between each pair of points. C(-2,2) d(5,-3) The area, A, of an isosceles right triangle is a function of the length of its legs, s, and is represented by the equation: A = 1/2 S^2. onique bought 2 hot dogs and 1 large soda. She spent $7. Scottbought 4 hot dogs and 1 large soda. He spent a total of $12.What is the cost of one hot dog and one large soda? The area in square feet of a rectangular field is x^2-80x+1500. the width, in feet, is x-30. what is the length in feet. Flying against the wind, a jet travels 3780 miles in 6 hours. Flying with the wind, the same jet travels 5950miles in 7 hours. What is the rate of the jet in still air and what is the rate of the wind? 1111 Rate of the jet in still air: what is the conclusion of the story stray