Could somebody please find the bugs and amend them? This question is worth 25 Brainly points!
---------------------------------------------------------------------------

#Tax Calculator with 4 bugs

salary = int(input("Please enter your annual salary: £"))

if salary < 30000
#Salaries under 30000 are taxed at 20%
tax = salary * 0.2
elif salary >= 30000:
#Salaries over 30000 are taxed at 40% for anything over 30000
salary = salary - 30000
tax = salary * 0.4 + 6000
else:
#Salaries over 150000 are taxed at 45% for anything over 150000
salary = salary - 150000
tax = salary * 0.45 + 6400 + 48000


print("Earnings of £",salary,"will attract taxes of £",round(tax,2))
input("Press ENTER to quit")

Could Somebody Please Find The Bugs And Amend Them? This Question Is Worth 25 Brainly Points!---------------------------------------------------------------------------#Tax

Answers

Answer 1

line 4

if salary < 30000

error missing ":"

solution

if salary < 30000:

line 6

tax = salary * 0.2

error is missing identifier for tax

solution add identifier for tax on line 3

tax = 0.0

line 11

error syntax

solution is move tax = salary * 0.4 + 6000 to the right

tax = salary * 0.4 + 6000


Related Questions

Factorise (x+y)^3- (x^3+y^3)​

Answers

Answer:

3xy(x+y)

Explanation:

if you want to simplify it it's 3x^2y+3xy^2 but you said factorise so it should be the answer 3xy(x+y)

Hope this helps:)

Answer:

3xy (x +y)

Explanation:

Step 1 Evaluate: (x+y)^3 = x^3+3x^2y+3xy^2+y^3

Step 2 Pull out like terms: 3x^2y+3xy^2 = 3xy × (x+y)

Answer:

3xy (x +y)


Avi does not want to save his internet browsing details on his computer. What should he do?
Avi should (copy,delete,or save) all the(virus,cookies,or logs) from his system after he has finished browsing.

Answers

He should delete logs.

What are the steps for inserting an internal link?
1. Type into a cell.
2. Then, select the that includes the cell you wish to link to.
3. Next, click the cell you wish to reference.
4. Finally, press .

Answers

Answer:

=

Worksheet

Ctrl + Enter

Explanation:

Answer:

=, worksheet, Ctrl+Enter

Explanation:

HTML code to display square bullets in an unordered list​

Answers

Answer:

<!DOCTYPE html>

<html>

<body>

<h2>Unordered List with Square Bullets</h2>

<ul style="list-style-type:square;">

 <li>Coffee</li>

 <li>Tea</li>

 <li>Milk</li>

</ul>

</body>

</html>

What are the safety precautions related to networks?

Answers

Answer:

The following are some of the common safety precautions mentioned in the Network+ objectives.

...

Installation Safety

Lifting equipment. When lifting equipment, it's best to lift with your legs, not your back. ...

Rack installation. ...

Placement. ...

Tool safety.

Answer:

*we should not give details about ours bank, otps etc

how do i solve this?

Answers

Answer:

turn it left then ,ove foreward

Explanation:

1. What is the difference between operating systems and application software? (1 point)

Answers

The main difference between operating system and application software is that an operating system is a system software that works as the interface between the user and the hardware while the application software is a program that performs a specific task. This software assists the tasks of the system

free ten points,, it would be batter if you answered though

Answers

Answer:

I think A

Explanation:

Answer:

I think it's A

Hope it helps :D

Am I correct? Please help

Answers

Answer:

In my opinion, yes you're correct!

Explanation:

why is it important to use fillings,coating/icing,glazes or decorations for pastry products​

Answers

Answer:

Frosting improves the cake's appearance.

Explanation:

Special occasion cakes become more festive with frosting and decorations; and, Frosting improves the keeping the qualities of the cake by forming a protective coating around it, sealing in moisture and flavor and allowing it to be eaten over a couple of days.

write a loop that will input 8 numbers from the keyboard and find the sum

Answers

THIS IS FOR PYTHON

total = 0

for i in range(8):

    number = int(input('Number: '))

    total += number

print(total)

The loop that will input 8 numbers from the keyboard and find the sum is as follows:

user_input = [int(input('Enter your value: ')) for i in range(8)]  

print(sum(user_input))

The code ask for the user's input for 8 times. Recall the range is 8.

Then we loop through the users input values

The looped users input will be summed using the sum() function. The sum function sums all the users input value.

The summed value is then printed with the print statement.

learn more on loop: https://brainly.com/question/14201070?referrer=searchResults

The network administrator is important in keeping the network healthy. Which of the following describes the role of a network administrator? Check all of the boxes that apply.

Answers

C and D. Network Administrators are more like managers of a network, so they’re more likely to be doing logical maintenance as opposed to physical. Physical network and hardware maintenance is typically done by a network technician or an I.T. technician.

Answer:

Its A and D

Explanation:I did it on edge 2020

What are some ways you can give staying off your phone a "boost" and make it easier to do?

If you're trying to break a bad habit, what are some things you can do so that you don't slip back into old ways?

Please help this is due today and I really need help.

Answers

Answer:

go do something outside and leave your phone inside to charge

Explanation:

What is the best programing language to use for building video games?

Answers

hey

I'm going to college for game design.

one of the best languages and the one I'm studying in is c# it is used in unity and many other game engines but there are many more. Just to list a few c++, Java, and many more it is up to you. if you would like more info about this just let me know By the way what game are you planning to make that is one of the most important factors

Hope this helps

-scav

In a sport like baseball, which of the following could be considered a “rule”?

following an umpire’s decision on whether a pitch is a ball or a strike

the force of gravity on the ball

the kinds of safety equipment players are asked to wear

all of the above

Answers

The answer is all of the above since safety is a priority but when you swing the bat you have to make sure you use enough force.

Hope this helps mark me brainliest please

For each item, identify the way it is usually addressed in the software industry. Applying a bug fix: Addressing a security flaw: Improving ease of use: Adding new features:

Answers

Answer:

(patch)

(patch)

(new version)

(new version)

Explanation:

gimme my 5 stars

Answer:

patch patch new new

Explanation:

i did it on edge

write a python program to input a list of no. and swap element at the even location with element at odd location​

Answers

Answer:

I changed the title to describe the task the code accomplishes, this makes    the contrnt more easily searchable and accessible.

Explanation:

Answer:

The content is more easily searchable and accessible.

Explanation:

help pleaseee got 15 points on this

.

Roxy has some raw footage shot on a videotape. She wants to edit this footage. She decides to use the linear editing technique. How should she set up her equipment? Roxy should load the raw footage in the ______ and a blank tape in the ______ first blank: VTR deck, VTP deck, edit controller. second blank is the same thing​

Answers

I belive it is vtr deck

Consider the following code segment

Answers

Answer:

E

Explanation:

The first loop assigns "John" to name and prints name

The second loop iteratively prints every name in order in the given array.

What is the significance of XML tags?
A.) They are self-descriptive.
B.) They are predefined.
C.) They are only computer readable.
D.) They are only human readable.

Answers

Answer:

your answer would be to ur question would be B

Answer:

It is self-descriptive

Explanation:

Plato Users

1) You are working with an organization as a network manager. The organization has

two offices in Abu Dhabi. Each office is equipped with 25 computers. The

management wants the smooth flow of information between both the offices and

does not want any delay.

a. Management has asked you to connect the computers in both the offices with

each other. What type of network will you suggest to them and what can be

some possible benefits of using that network?

b. The management wants that in the Head Office, there can be no access to data

from outside. Which type of network will be your preference to implement in

that case and what will be the benefit of that?

Answers

Answer:

Explanation:

a. In this specific scenario, the best option would most likely be a site-to-site VPN. This would allow each office to be independently connected to the internet and at the same time be connected to each other securely and efficiently. There should be unnoticeable or no delay at all between the two offices and sensitive files will be completely secure. Therefore, the two offices can easily transfer data securely between one another without fear of the data being intercepted.

b.  The same VPN network would work on the head office, but instead we can implement firewall restrictions to the head office network itself. These restrictions would prevent any or all incoming connections that are trying to request data from the local head office network. This would allow the head office to continue working without worry of unwanted intruders in their network.

Sube
When you access a website, your
translates web language code into words, graphics, and videos.
A website address
B. web host
ООО
C Internet service provider
D. HTML decoder
Eweb browser

Answers

Answer:

I think the answer is C correct me if I'm wrong

Answer:

A

Explanation:

im not 100% positive about that but im like 99.9% sure

I tried going into a website called Utters.io, but when I typed a phrase in, the video was taking a really long time to load. Does anyone know what's wrong with it?

Answers

Answer:

Your internet or browser

Explanation:

Try another browser or resetting your router. If a YT video will load then you can rule out internet speed and try another piece of client software.

The idea that money, language, education, or infrastructure creates a gap between those who have access to information technologies and those who do not.

Answers

Answer:

The Digital Divide, or the digital split, is a social issue referring to the differing amount of information between those who have access to the Internet (specially broadband access) and those who do not have access

Explanation:

Good HTML skills will be required in order to prevent what from happening in the design of a web page?

Answers

Answer:

to properly use the tags in the web page

Explanation:

The full form HTML is Hyper Text Mark up Language. HTML is used in designing a good web page in the computer. It is used to design the document that are displayed in the web browser.

Instead of using a programming language to do the functions of a web page, the markup language uses the tags to identify the different types of the contents and purposes that they serve in the web page. A good HTML skills are required to prevent the web page from any improper designing of the contents in the web page.

How to make videos that I watch online not buffer and stop so much? it's really annoying.​

Answers

I would recommend buying a higher quality device. This might be happening because you device is old. If not then I’m not sure.

I hope this helps.

Answer:

Delete ittttttttttttt

What would you do if you experienced academic frustrations in school? Check all that apply.
Look for ways to do better academically in school.
Ask a friend to explain difficult concepts.
Try to identify the reason you are feeling frustrated.
Ask a teacher for help coming up with a solution.
Search online for help solving this problem.

Answers

I think it is all of them :))

Answer: all are correct

Explanation:

i say all because those are all really good ways to help you in school. if you are struggling then ask a to a teacher for help you, if you need more help, ask a friend. see what you can do to help yourself do better. see what you are doing that could possibly be the reason of your frustrations. and the internet is always open to questions and answers. but it also depends, some schools are strict about using the internet for answers. but if your school is different then use the internet freely. i hope this helped.

Marissa is designing a web page that features lessons on how to build cabinets. how can she make the page most engaging for the user?

A. by adding warm colors to make the content more fun to view.

B. by adding a short video demonstrating how to build cabinets.

C. by adding a variety of font types to make the text look appealing.

D. by adding a slideshow that displays pictures of built cabinets.​

Answers

I am pretty sure it’s B because that’s the only answer that really correlates to teaching people how to build cabinets

Use the drop-down tool to match each definition to the correct word or phrase. The computer that responds to requests from the client computer: _____. Connects network devices or different parts of a network: __________. A piece of equipment that directs data where it should go: _____. Connects many different Ethernet devices and allows them to connect to the network with one connection: _________. The computer that uses service provided by a server: _________.

Answers

Answer:

The computer that responds to requests from the client computer:  

Server

Connects network devices or different parts of a network:  

Switch

A piece of equipment that directs data where it should go:  

Router

Connects many different Ethernet devices and allows them to connect to the network with one connection:  

Hub

The computer that uses service provided by a server:  

Client

Explanation:

Following are the discussion to the given points:

The computer replies to queries from the client-server computer.Connects network components or various parts of a Network Switch.The router is a piece of equipment that directs information to the data location.Connects a variety of Ethernet devices and enables them to connect to the network through a single connection Hub.A network is a computer network that makes use of a service supplied by the Client-Server.

Therefore, the final answer is "Server, Switch, Router, Hub, and Client".

Learn more:

brainly.com/question/20193625

What is the name of Thompsons computer language?

Answers

Answer:

below

Explanation:

Bon programming language

Answer:

Explanation:

Bon programming language

While writing Multics, Thompson created the Bon programming language

Other Questions
Mikey solved the inequality problem below incorrectly. Explain her error and redo the problem showing the correct answer. Original problem: -4x+8 PLS HELP ASAP WILL GIVE BRAINLIEST Look at the figure below:If sin y = 9/c and tan y = 9/d, what is the value of cos y? Difference between the reproductive health and mother hood Lori wants to buy the same number of pencils and pens for school this year. Pencils comes in packs of 16, and pens come in packs of 4. What is the least number of packs of each she could buy? 8103 4 packs of pencils and 1 pack of pens 1 pack of pencils and 4 packs of pens the 1 pack of pencils and 1 pack of pens 4 packs of pencils and 4 packs of pens SUBMIT Mark runs 6 kilometers in 22 minutes. How many minutes will it take him to complete a 39-kilometer run?please help why has fertilizers industry grown in recent years Please answer them if you have a chance Please answer correctly . What are the benefits of synthetic motor oil compared to conventional oil?A) Provides maximum deposit protection in high temperaturesB) Provides maximum sludge protection at low temperaturesC) More resistant to oil breakdownD) Maximum wear protectionE) All of the above Triangle ABC and Triangle DEF are similar. Find the unknown measures. (t = ? and u = ?) jai besoin daide pour cet exercice Which statement describes the role of Native Americans in the French and Indian War (1754-1763)? What did Peter the Great build? And why? PLEASE HELP ME!! A) SupplementaryB) alternate interiorC) ComplementaryD) Vertical What is important about translation Which appeal is the best example of ethos? A. Most federal judges agree that the plan is unconstitutional. B. Would you rather have a single check or a job with benefits? C. Pollution cleared up by 70 percent thanks to the new policy. D. Dolphins die every time you take a bite of this brand of tuna. Which statement accurately describes the Appalachian Plateau?The geography is divided between mountain peaks and valleys.BThe winters are snowy, but summers are warm and are not suitable for agriculture.The Plateau is located in northwest Georgia and is made of flat land with poor soil.DThe Plateau is located in northeast Georgia and frequently has cold winters and hot summers. Make the sentences Interrogativ. i my stay at school after classes What is the area of the figure? O 1240 units? 0 1250 units? o 2490 units? 0 3730 units Describe pre-Columbian Native American societies. Include the sexual division of labor and gender roles. Likewise discuss the primary means of survival and living such as crops grown and the importance of subsistence farming. Provide a brief account of the characteristics of their religions and how religion relates to the Native American view of the private ownership of land. Be sure to speak briefly of the Mississippian Tradition and the League of Iroquois.