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 is your favorite pokemon game

Answers

Answer:

all.

Explanation:

Answer:

pokemon moon

Explanation:

Translate "God" Into Italian

Answers

Answer:

Dio is god in Italian

Explanation:

hope it helps

Answer:

Dio = God in Italian

una laptop agarra mas internet que una computadora de escritorio?

Answers

una laptop agarra mas internet que una computadora de escritorio?

Su computadora no puede afectar la velocidad de Internet de sus otros dispositivos. ... La única forma en que su computadora puede reducir la velocidad de Internet de otros dispositivos es si no obtiene suficiente velocidad de su ISP y sus dispositivos luchan por un ancho de banda limitado.

^^

your iphone is not configured to allow calls using this mac

Answers

Answer:

Make sure you have an iCloud account and that your computer is logged into that account.

Explanation:

A(n) ________ is a wonder of miniaturization combining a CPU, GPU, and sundry other support logic onto a single silicon die, saving a lot of space and power in the process.

Answers

Answer:

system on a chip (SoC)

Explanation:

What are the benefits and drawbacks of open source software versus proprietary software? How should open source applications be approached when thinking about intellectual property and copyright laws, and how does this relate to software licensing agreements and responsible use of software? Your answer should include at least some discussion of security, data, and risks.

Answers

Answer:

Unlike proprietary software, open-source software promotes creative work and gives users full access to the source code. If you want to customize a specific program, you can simply ask a developer to do it (assuming that you have a license, which is required in most cases).

PLEASE HELP! WILL MARK AS BRAINLIEST
JavaScript can be implemented using the _________ HTML tags in a web page.​

Answers

Answer:

JavaScript can be implemented using JavaScript statements that are placed within the ...  HTML tag

Explanation:

I am a device which is used to scan characters printed in magnetic ink​

Answers

Answer:

scanner is right answer or

A backup utility can ensure that data is not lost if your computer or disk drive
fails. *
True or false

Answers

false




have a good day

What are five don’ts of using a computer

Answers

Answer:

Do not eat or drink near technology

Do not open unexpected or unknown email attachments

Do not install unknown programs

Do not forget about updating apps

Do not force anything closed

Do not get it dirty or wet

Do not wash your computer

Do not punch your computer

How do Machine Learning (ML) and Artificial Intelligence (AI) technologies help businesses use their enterprise data effectively?

Answers

Machine learning and Artifical intelligence helps develop models which are capable of learning continously on its own , hence, progressively getting better based on the amount and correctness of the data. Hence, artifical intelligence and machine learning models helps enterprise to draw insightful pattern from their data, capable of driving enterprise growth.

Models created using these automation technology continously learn from enterprise data, which they convert to reasonable insight which can help enterprise deduce lapses in business and foster business growth.

Hence, machine learning and artificial intelligence helps put enterprise data into good use.

Learn more : https://brainly.com/question/15584994

Python converts your code into bytecode when you run your program. This process is an intermediate step in a process called.

Answers

Python first compiles your source code (. py file) into a format known as byte code . Compilation is simply a translation step and byte code is a lower level and platform-independent representation of your source code

Python converts your code into bytecode when you run your program. This process is an intermediate step in a process called Compilation.

The line of code returns the ASCII code.

ASCII, has the full form American Standard Code for Information Interchange. It consists of a 7-bit code in which every single bit represents a unique alphabet.

Python is a high-level computer programming language. It is dynamically used.

First, it does a compilation for a file with the extension `.pyc`

Python converts your code into bytecode when you run your program. This process is an intermediate step in a process called Compilation.

Learn more about Python code here:

https://brainly.com/question/34746850.

#SPJ3

Give a brief explanation about the internet.plsssss

Answers

Answer:

The Internet is a vast network that connects computers all over the world. Through the Internet, people can share information and communicate from anywhere with an Internet connection.

Explanation:

INTERNET is a short form of Interconnected Network of all the Web Servers Worldwide. It is also called the World Wide Web or simply the Web.

to center data in a cell, click the ____ button on the ribbon.

Answers

To center data in a cell, click the center  button on the ribbon.

Data in a cell can be aligned either  horizontally or vertically .

For the  horizontal alignments, we have

against the left border, against the right border, and in the centre.

For the  vertical alignments, we have

against the top border, against the bottom border, and in the middle.

To center data, the following steps should be followed.

1.Click the cell where you want to center the data.  

2. Click "Home," then the small arrow in the bottom corner of the "Alignment" area of the ribbon.

3.Click the  drop-down box next to "Horizontal" and choose "Center." Do also for the "Vertical.

When a method in the ________ class returns a reference to a field object, it should return a reference to a copy of the field object to prevent security holes.

Answers

stop normalising the american *smart answer*

which type of information could reasonably be expected to cause serious damage to national security if disclosed without authorization

Answers

Answer:

Confidential Information

Explanation:

It is predicated on the idea that a person who receives information in confidence should not use or divulge that knowledge without permission. Unauthorized use or disclosure of confidential information may lead to a breach of trust suit.

Confidentiality clauses, often known as "NDA's", are intended to protect and consider important business information. Like as production processes, proprietary formulas, client lists, know-how, concepts, business strategies, and technical information.The unauthorized revelation of this type of material could reasonably be expected to harm our national security.

Therefore, the final answer is "Confidential Information".

Learn more about types of information:

brainly.com/question/13079191

People who connect one network to another within the company or even across organizations are A. central connectors. B. boundary spanners. C. external specialists. D. peripheral specialists.

Answers

People who connect one network to another within the company or even across organizations are boundary spanners.  

People who serve as ambassadors to linking information and communications on informal networks within different department in an organisation and with other organisations or personnel  far and near for the good of their organisation are called Boundary Spanners.

The importance of Boundary  spanning in organisation includes

Exchange of expertise informationNurturing of connections with people from different part s of the world.Improved innovation in businesses

See more here: https://brainly.com/question/14728967

What it takes to be a Graphic Designer and your interest
Do you plan to pursue or get certified?
150 words

Answers

Answer:

There are a few key steps to starting a career in graphic design: learn the principles of design, enroll in a graphic design course, practice graphic design tools, work on projects, and build your portfolio. … You will also need to master common graphic design tools, such as Photoshop, Illustrator and InDesign.

This portion of the question is up to you not me "Do you plan to pursue or get certified?"

in database systems, a table is also known as a _____.

Answers

Answer:

a relation

Explanation:

In database systems, a table is also known as a file.

What do you mean by database systems?

A database is a structured collection of data that is stored and retrieved electronically in computing. Small databases can be kept on a file system, whereas large databases are kept on computer clusters or in the cloud. Database design encompasses both formal techniques and practical factors, such as data modelling, efficient data representation and storage, query languages, sensitive data protection and privacy, and distributed computing issues such as concurrent access and fault tolerance. To gather and analyse data, a database management system (DBMS) is the software that communicates with the end users, applications, as well as the database itself.

One of the various types of the system object type *FILE is a database file. A database file provides specifications of how input data from internal storage is to be presented to a programme and how output data from a programme is to be presented to internal storage.

To learn more about database systems
https://brainly.com/question/28481695

#SPJ2

what is draft pls help me​

Answers

Answer:

draft like as a rough draft it pretty much a set were you can play and the do the real thing

Drafting refers to actually writing the words of the paper. As part of the writing process, you will write multiple drafts of your paper. Each rough draft improves upon the previous one. The final draft is simply the last draft that you submit.

The illusion of motion created by the consecutive display of images of static elements

Answers

Answer:

The term illusory motion, also known as motion illusion, is an optical illusion in which a static image appears to be moving due to the cognitive effects of interacting color contrasts, object shapes, and position.

Explanation:

first what all this about is about animation the creation graphic of cartoons and some sci fi fiction

State one technique for overcoming external fragmentation in dynamic partitioning. Why is this technique of overcoming external fragmentation considered inefficient

Answers

Compaction often gives solutions to the issues regarding external fragmentation.

One technique for overcoming external fragmentation in dynamic partitioning is

Compaction.

The reason why this technique of overcoming external fragmentation may be inefficient is because:

External fragmentation may need a lot of compaction and it is an expensive operation.

The use of contiguous allocation is often hard to fit processes into memory and also it is so difficult to grow or shrink the amount of memory allocated to a process.

Compaction only takes place when relocation is dynamic, and this also is expensive.

Compaction often shuffle memory notes or contents and then put or pile them up all in free memory and in one large block.

External fragmentation takes place when free memory is removed into small blocks.

Learn more from

https://brainly.com/question/23636593

where is the flash drive listed in a windows 7 save as dialog box?

Answers

Answer:

In the left pane below Computer.

Explanation:

PLEASE HELP! WILL MARK AS BRAINLIEST JavaScript can be implemented using the _________ HTML tags in a web page.​

Answers

Answer:

ecmascrip is how Javascript can be implemented I think I'm very sry if it's wrong

Answer:

JavaScript can be implemented using JavaScript statements that are placed within the ...  HTML tag

Explanation:

(thanks for all the points)

Which of these statements is true about text superimposed over a photograph on a
slide?
It should never be done.
It should always be done.
It should have high color contrast.
O It should have low color contrast.

Answers

Answer:

It should have high color contrast.

if you are continuously working with the same range, then you may give a name to the range using _____ option in the data menu open office.
a define data.
b define range.
c define reference.
d define addres​

Answers

Answer : B. Define Range

If you are continuously working with the same range, then you may give a name to the range using define range option in the data menu open office. The correct option is b.

What is a range?

In computer programming, range refers to the interval that includes the upper and lower bounds of an array's variable values. The interval between data points is referred to as the range in statistics.

The domain of a function is the set of values that can be plugged into it. This set contains the x values in a function like f. (x).

A function's range is the collection of values that the feature can take. This is the set of values that the function returns after we enter an x value.

If you are constantly working with the same range, you can give it a name by selecting the define range option from the data menu in Open Office.

Thus, the correct option is b.

For more details regarding range, visit:

https://brainly.com/question/28135761

#SPJ6

You are able to add Sheets to your workbook by pressing the + button by the sheet tabs.

O True

O False

Answers

Answer:

True

Explanation:

________ is a computer application that enables a firm to combine computerized functions of all divisions and subsidiaries of the firm into a single, integrated software program that uses a single database.

Answers

Answer:

Yash Sharma Hemant Kumar

If you use your smartphone as a hotspot to connect to the Internet on your tablet you are using a ________.quillet

Answers

Personal Area Network

If you use your smartphone as a hotspot to connect to the Internet on your tablet you are using a Personal Area Network.

What is meant by personal area network?

An individual's workspace can be connected with electronic devices via a personal area network. Between devices like PCs, smartphones, tablets, and PDAs, a PAN enables data transmission.

A PAN is an interconnection of personal technology devices that allows them to communicate over a small distance (less than 10 meters or 33 feet), often using wireless technologies.

Short-range wireless networks with a range of a few tens of meters are known as personal area networks (PANs). PAN's primary function is to do away with cords that link devices to peripherals. PAN technologies often use radio or infrared for cordless items like keyboards and mice.

To learn more about personal area network refer to:

https://brainly.com/question/14704303

#SPJ2

Types of technology include:

A Specialized machinery

B Medical equipment

C Electronics

D All of those are correct

Pick one please

Answers

All of those are correct
Hopes this helps
Other Questions
True or false: Social shopping involves sending e-mails to specific customers about new products that may be of interest to them. ____________ is an unfair or unfounded attitude towards something. A. Judgement b. Opinion c. Bias d. Preference Please select the best answer from the choices provided A B C D. Please can someone show me their working on these, as I'd really like to know where I went wrong. Bruno and Willie need a total of $50,000 to start an accounting business. Bruno has spent a lot of time getting the business set up, so Willie agrees to contribute $12,000 more than Bruno. How much money will Willie contribute? what are strong academic, social skill training and individualized behavioral intervention for children in the kindergarten classroom Select all the parallelograms. Find the cardinal number of the set: C={1/x x is an integer that's greater than or equal to 4 and less than or equal to 9}. what is the main function of a mammary gland in a female? Write 49 as a product of primes Is that the right answer When bisecting segments and angles, which step is the same? What were the 4 main causes of the Great Depression? Difference between Absolute and Relative truth. how much milk does the average cow produce each day Noir drove from the Dead Sea up to Amman, and her altitude increased at a constant rate. When she began driving her altitude was 400 meters below sea level. When she arrived in Amman 2 hours later, her altitude was 1000 meters above sea level. Let y represent noirs altitude in meters relative to sea level after x hours. The Maximum and Minimum resultant of two forces are 35N and 51N. What is the possible Value of the two forces ? What is 6 percent of 435000 how to cure redundant prepuce after circumcision without surgery Why is it possible for condition means to differ at the end of an experiment even if the independent variable had no effect POR QUE CREES QUE LOS ESPAOLES DEJABAN SIN AGUA AL PUEBLO ( QUE ESTABA CONFORMADO POR LOS INDIGENAS)?.