Assignment 4: Evens and Odds


How do I fix this?

Assignment 4: Evens And OddsHow Do I Fix This?

Answers

Answer 1

There's definitely something wrong with your for loop. Try this:

for x in range(n):

You might want to check if all your print statements are correct. You might be missing just a period and it will be counted wrong.


Related Questions

PYTHON 7.1.6: Sandwich Sandwiches (codehs)

In this exercise, write a function called sandwich which takes a 3 letter string. Your function should return the letters that are at the beginning and end of the string.

For example,

sandwich("pbj")
# => "pj"
sandwich("blt")
# => "bt"

Answers

I've included my code below. Best of luck.

Following are the Python program to calculate the string value:

Program Explanation:

Defining a method "sandwich" that takes string variable "x" in parameter.Inside the method, a return keyword is used that removes the middle string value.Outside the method, a print method is used that calls the "sandwich" method which accepts a string value in it and prints its return value.

Program:

def sandwich(x):#defining a method sandwich that takes string variable x in parameter

return x[0]+ x[-1]#using return keyword that remove middle string value

print(sandwich("pbj"))#calling method and print its return value

print(sandwich("blt"))#calling method and print its return value

Output:

Please find the attached file.

Learn more:

brainly.com/question/8647085

Why do we use a design process?

Answers

Architects, engineers, scientists, and other thinkers use the design process to solve a variety of problems. Use this process to define the steps needed to tackle each project, and remember to hold to all of your ideas and sketches throughout the process.It's a systematic series of steps that helps you to define, plan and produce a product you're building — in our case, an app. It allows you to be efficient, transparent and focused on creating the best product possible.

Here are the 7 steps most design projects will have to pass through to get from the initial client briefing to a successful project.

Step 1 – Study the Client Brief. ...Step 2 – Research, Research, Research. ...Step 3 – Brainstorm. ...Step 4 – Sketch. ...Step 5 – Concept Development. ...Step 6 – Revisions. ...Step 7 – Completion.

what is the missing term

Answers

Answer:

location

Explanation:

Because it is referenced in the classes init method.

Complete the output for the following program?
for num in range(4):
print (num * 4)
OUTPUT:
First: ___
Second: ___
Third: ___
Fourth: 12

Answers

Answer:

First: 0

Second: 4

Third:8

Fourth: 12

Explanation:

The for loop will generate numbers from 0 to 3 (one before 4), and theier product with 4 will be shown on screen.

_____ is the process by which the visual cortex combines the differing neural signals caused by binocular disparity, resulting in the perception of depth.

Answers

Answer:

Stereopsis

Explanation:

Stereopsis is the process by which the visual cortex combines the differing neural signals caused by binocular disparity, resulting in the perception of depth.

What does the image depict:
a. a distributed database
b. a parallel database
c. an extranet
d. an intranet

Answers

I'm pretty sure it's a. a distributed database.

I could be wrong though, someone fact check me.

Choose the assistive technology that best completes each sentence.

A __ provides a magnification of a chosen area of the screen, without reference to other parts of the
screen.

A __ provides magnification of a portion of the screen in relation to the rest of the screen, much like a
physical magnifying glass.

Answers

A zoom feature provides a magnification of a chosen area of the screen, without reference to other parts of the screen.

A  screen magnifier provides magnification of a portion of the screen in relation to the rest of the screen, much like a physical magnifying glass.

What does a screen magnifier do?

A screen magnifier enables persons with vision impairment who can still see to access and interact with digital content, such as websites and papers.

Note that A screen's magnification function involves zooming in on specific areas of the screen or the entire screen to simulate using a magnifying glass.

Therefore, too zoom in and out is to make something or someone appear much larger as well as closer, or much smaller and farther away through using a camera or computer.

Learn more about magnifier from

https://brainly.com/question/27173427
#SPJ1

If you have a spectrum modem can you connect it to a VPN without a Router. Is it possible to do?

Answers

Answer:

From the internet itself, not sure if this will help, but if does, great.

Explanation:

Charter Spectrum Internet works with VPNs very well. You can install it on your device or have it set up on the router. In the latter case, the VPN automatically turns on when you use the Internet from any device be it a smartphone, PC, or tablet.

Question 13(Multiple Choice Worth 5 points)
(03.01 LC)
What tab in Word Online should you choose to add a shape to your document?
Home
Insert
Layout
Review

Answers

Answer:

Option 2: Insert is the correct answer.

Explanation:

Word processing software provides with the options required to create and format documents. A document may consist of text, images, shapes, tables etc.

The insert tab is used to insert tables, images and shapes in the document.

Hence,

Option 2: Insert is the correct answer.

Answer:

#2. Insert

Explanation:

That's where it is =>

HURRY

I ONLY HAVE 4 DAYS LEFT

Select the correct answer.

A game design company develops a game in which players run a grocery store and need to keep tabs on the dollar amount of goods sold and received each day. Which statement best describes this game?

A.
It is an educational game that teaches economics.
B.
It is an educational game that teaches algebra.
C.
It is an educational game about health sciences.
D.
It is an inventory-management game.
E.
It is an educational game that teaches accounting.

Answers

E. It is an educational game that teaches accounting

Give four advantages for ssd compared to hdd

Answers

Answer:

Explanation:

SSD is not affected by magnets

SSD is more reliable because it uses flash technology instead of platters and arms.

SSD has no moving parts so it has less chance of breaking down

SSD makes no noise because it has no moving parts.

Because SSDs don't have moving parts, they're more reliable and more shock-resistant than traditional hard drives. They're also more resistant to common drops, accidents, and wear and tear because they don't have the small, damage-susceptible parts of traditional hard drives.

A website wants to gives out detailed information to viewers about its upcoming conference and also provides a feature for searching the
website's internal content. Which planning tool addresses these aspects based on prioritization of text?
OA page description diagrams
ОВ.
wireframe
OC.
sitemap
OD.
navigation

Answers

The planning tool that addresses these aspects based on prioritization of text is wireframe.

What is website?

A website is described as a composition of web pages and linked content that is seen by a common domain name and then they are published on any web server.

Note that a wireframe is said to be a two-dimensional depiction of a page's interface that is known to be based on space allocation and prioritization of content, etc.

Learn more about website  from

https://brainly.com/question/13171394

describe how there has been a reduction of employment in offices, as workers' jobs have been
replaced by computers in a number of fields (e.g. payroll workers, typing pools, car production
workers)

Answers

Answer:

Automation is the term you are looking for. When we automate things in a business, it can reduce the amount of manual input needed to complete tasks. With the reduced need of manual input, this leads to many jobs being unnecessary. Furthermore, automation can be significantly more efficient in handling repetative tasks.

One major example of this is a stock brokerage room. In the 1980's, you'd see many people with phones, calling and making trades with other brokers. It would be loud, cluttered and a mess. However, nowadays all of these trades are done at incredibly fast speeds by computers with relatively small input from humans.

E-governance is the only solution against corruption. justify the statement in context of nepal​

Answers

Answer:

Following are the solution to this question:

Explanation:

The E-government implies use as part of the government systems to offer SMART, which is used to manage smart governance, ethics or accountability, sensitivity, and transparency. It is the research teams, that also shown that policies were progressing in India's creation of information technology. It is also argued against reducing the risk of bribery through improved public official surveillance and reducing its need for citizen engagement with porters with key services.

E-government involves against the utilization of Intelligent as the impact of government way of managing practice evidence, accountability as well as traceability, responsiveness.

It's often stated that decreasing the possibility of bribery thru enhanced government employee supervision and minimizing the necessity for civilian involvement with employees delivering critical services reduces the chance of corruption.

Thus the response above is right.

Learn more about corruption here:

https://brainly.com/question/24673177

What is a sequence of graphic illustrations which represent the planned scenes for a video or animation?
A. Animation
B. Production
C. Multimedia projects
D. Storyboard

Answers

Answer:

D. Storyboard

that is the answer

story board, D...........:)

HURRY

I ONLY HAVE 4 DAYS LEFT

In a multiplayer game, you are part of a team that consists of players from all over the world. You are a warrior and prefer to carry weapons with you. Another member in the team takes on the role of the team medic, and carries regenerative potions. Whenever you are injured, you can access the medic’s inventory to swap your weapons with potions. What kind of interaction has been described here?

A.
player-to-game interaction
B.
cooperative player-to-player interaction
C.
direct player-to-player interaction
D.
competitive player-to-player interaction
E.
player-to-platform interaction

Answers

Your answer is B: cooperative player-to-player interaction

how do i choose a most brainlyist

Answers

Answer:

They’ll have to be 2 answers first, when 2 answers are given, you can choose which is branlyis. If there are no 2 answers, you can’t choose.

Answer:

When you have a question, you can mark Brainliest only when there are two answers. When there are two answers, in the bottom right corner there is a yellow crown. Click the crown to mark that person as the Brainliest. Choose carefully, because you can't undo it!

Greg wants to check the amount of requests his website receives. What test can he use?
A
functionality test
B.
user test
C.
performance test
D.
website load test
Help ASAP

Answers

Answer:

D - Website load test

Explanation:

Just got it right

what key do you have to press i order to send your finish information to the CPU​

Answers

Answer:

Enter key.

Explanation:

The key you have to press in order to send your finish information to the central processing unit (CPU) is the Enter key.

In Computer science, the Enter key found on all keyboards serves a similar purpose (function) as the OK button and it is typically used to end or finish an entry and sequel to that, starts the processing of the information entered into the computer system.

This ultimately implies that, when a computer user wishes to enter or send a finished information to the central processing unit (CPU), he or she is required to hit the Enter key.

what is a filter in excel (please keep your answer brief)

Answers

Answer:

The Excel FILTER function "filters" a range of data based on supplied criteria. The result is an array of matching values the original range. When this array is the final result (i.e. the results are not handed off to another function) matching results will "spill" on to the worksheet.

Explanation:

A video conference on the topic: "The internet solves more problems than it causes". You will then be asked to discuss this question and your results will be marked!

What do you think about this topic

Answers

Answer:

Internet help us in daily life. i save our time, also it let us to connect with our friends and family, faster with no time

Explanation:

Hi, that what do i know

mention five internet services​

Answers

1 ) cable internet 2) DSL internet 3) sattalite internet4) mobile internet5) BSNL

please mark me as brainlist

answer(s)

communication services,

informational retrieval services,

web services,

world wide web,

& video conferencing.

50 POINTSSS!!! Select the various storage management tools.

Disk Cleanup
Cleaning a desktop
Check Disk
Checking for errors
Disk Defragmenter
Cleaning a keyboard
Windows Update

THERE ARE MULTIPLE

Answers

Explanation:

cleaning a desktop

and cleaning a keyboard

Answer:

The answer above me is wrong and Cleaning a desktop and Cleaning a keyboard have nothing to do with storage management tools.

The correct answers are:

Disk Defragmenter

Check Disk

Checking for errors

Disk Cleanup

The technique helps you explore possible risks by providing access to risk areas identified in the past. It also provides the solutions that were used and along with the outcomes.

Answers

Answer:

The technique helps you explore possible risks by providing access to risk areas identified in the past is explained below in details.

Explanation:

Risk administration commences with the system of classifying risks. In this method, we examine future developments or circumstances that may influence our understanding and capacity to accomplish our aims. Risk identification incorporates estimating out where, when, how, and why such situations may happen.

Which statement describe the advantages of using XML? more than one answer can be correct

A-it saves file space
B-it allows for data storage in a separate file
C-it is hardware dependent
D-it is software independent
E-it facilitates the transport of data

Answers

Answer:

The statements that describe the advantages of using XML are;

B-It allows for data storage in a separate file

D-It is software independent

E-It facilitates the transport of data

Explanation:

XML data can be stored in separate file such that the layout and display can designed in HTML whereby the data in the XML file can be changed without changing the HTML

XML is both software and hardware independent thereby it is possible to use the same XML to carry information to different computers and software

XML is used for data transport.

Is the app scener safe? its a chrome webstore app on computer.​

Answers

Answer:

Maybe

Explanation:

If you are unsure if a website is safe look for signs. If its asking you to allow advertisement then no. I suggest you download a VPN before going to the website just to be safe

18. The Physical Model is derived from the Logical Model. True or False?
True
False

Answers

True is the correct answer

It specifies how a system must be implemented and is not database-specific. Business analysts and data architects are the users who typically construct LDMs. Thus, it is true.

What Physical Model is derived from the Logical Model?

A logical model includes depictions of entities, properties, relationships, special identifiers, subtypes, and super types, as well as restrictions on how relationships can be formed. A logical model may also reference one or more domain or glossary models or include objects from a domain model.

The physical model, which describes how data is physically stored in a database, is developed from a logical model and is specific to a given vendor's data storage technology.

Therefore, it is true that The Physical Model is derived from the Logical Model.

Learn more about Logical Model here:

https://brainly.com/question/29322169

#SPJ2

what is the use of functions in Ms excel

Answers

Answer:

To perform or carry out calculation

Explanation:

Function is a special command or set out the formula in Microsoft Excel, that accomplishes calculations using specific values in a specific arrangement.

For example, in Microsoft Excel, Function can be applied to rapidly deliver or calculate outcomes such as total sum, average, count, main value, and least value for a range of cells.

Hence, in this case, the correct answer is "To perform or carry out the calculation.".

PLEASE HELP
Ok so I am totally dead because I fell behind in my school and it is hard for me to catch up. Does anyone have any tips. I will still give you brainily if you help. Thanks

Answers

Girl this happened to me too but all I did was try to look up info on things or examples to know how to do the work and stuff

Answer:

yes I do so first of all number #1 rule sometimes you can feel lazy and just want to give up and play video games for the rest of the day don't do that because the work that was doe that day will just keep piling up and that can make you Overwhelmed.

write an algorithm to calculate the simple interest using the formula​

Answers

Answer:

step 1:- start

step 2:-read principal amount, rate and time

step 3:- calculate interest using formula sI=((amount*rate*time)/100)

step 4:- print simple interest

step 5:- //CPP program to find compound interest for. //given values

Other Questions
I need to know this 48 5 A handful of coins has the value of 1 dollar and 79 cents. There are three times as many dimes as quarters, and five more pennies than dimes. If there are only three types of coins, how many coins of each type are there? pls help what number makes this equation true _3=6 4. Which two steps should be used first in solving the system of equations by substitution?A:Substitute 9 for y in the first equation and then solve the other equation for x.B:Solve the second equation for y and then substitute this value into the first equation.C:Subtract the terms in the second equation from the first equation and then solve for yD:Multiply the first equation by 4 and the second equation by 2. Normally organisms undergo _____ to make usable energy from glucose in the presence of oxygen. However, ____ allows some organisms to generate energy in areas where there is no oxygen. 1. Anaerobic respiration, Aerobic Respiration2. Anaerobic Respiration, Photorespiration3. Photosynthesis, Glycolysis4. Aerobic Respiration, Anaerobic Respiration What is a central idea of the Newsela article "How the Ancient Egyptians Shaped the World's View of Life After Death"?The Egyptians' beliefs influenced the beliefs of many other ancient cultures. The Egyptians were the first culture to believe in an afterlife.The story of the god Osiris is important to Egyptian mythology.Maat, the idea of the world being in balance, is important to Egyptian mythology. Which of these expressions CANNOT be simplified by combining like terms? 53+7322+310 53+322+310 53+2(32)+310 533+322+3310 find values of x and y?? pls ANSWER in you know the AnswerAiden plant grew 75 inches in 100 weeks. At this rate, how much would it grow in 30 weeks What is your favorite food smell. Use a figurative language sentence. HELPPP PLEASEEEE!!!! Please choose the correct answer option below I would like the question In the picture explained and answered MARK BRAINLIEST!!! They raised x dollars last year this year the raised $50 less than twice the amount raised last year. Which expression represents the amount they raised this year? 2x+502(50)+x50x-22x-50 ____ is the perceived frequency of a sound wave. Shane is debugging code and found a line reading Favorite Snack = "blueberry muffins". How should the line look after its been debugged? Favorite_Snack = "blueberry muffins" favorite snack = "blueberry muffins" Favorite Snack is "blueberry muffins" Favorite Snack = "blueberry_muffins" Ill give you brainliest If you give me a definition of those words in your own words. One reason a student should gather evidence for a multimedia presentation is toexpress feelings about a topic.support a claim for an argument.entertain an audience with a witty story.describe an amusing event or experience. Which of the following statements is not true?AThe president has the sole power to appoint justices.BThe Senate has to approve justice appointments.CCongress can impeach justices and remove them from office.DThe public elects justices of the Supreme Court. what are context clue