Create a new program in python that:

Defines a function called cities()

Ask the user how many cities they are in England and store their response in a variable called answer

Check if their answer was equal to 51

If it was, output well done!

else, output incorrect!

Calls the cities() function at the end to run it.

Answers

Answer 1

Answer:

here

Explanation:

If you want to display something on screen you can use the print() function. ... An example of code that will ask the user to enter their name and display it on ... stores it in a variable called city city = input("What is the capital city of England ... If you want to perform a format check in Python you will need to make use of a library.


Related Questions

Upload your 500-word story that describes one law, including how it relates to digital media, and summarizes a case that went to the courts and the stand of the parties involved.

Answers

Answer:

Communications Decency Act (CDA).

Explanation:

Communications Decency Act (CDA) is a law that relates to the digital media which is made to regulate content related to sex on the Internet. The person who sends any type of sexual content to a female or any individual so she can take sender to the court and he will be punished on the basis of Communications Decency Act (CDA). In this situation, senders and receivers are the two parties who are involved in this crime. The sender commit the crime whereas the receiver is innocent and was affected from the act so the sender receives the punishment according to the law.

how to get off of supervised user

Answers

Answer:

On the Chromebook sign-in screen, select the profile you want to remove. Next to the profile name, select the Down arrow . Select Remove this user.

hope this helps

have a good day :)

Explanation:

Does anyone else's Homepage look like this?
Does anyone know how to fix it??
It's been like this for days!!

Answers

Add me please please add please help me please please add please help me get it

What does the Latin word VIDEO mean?
1 I vine
O I conquered
I see
I hear

Answers

It comes from the word: “I see”

Briefly discuss the aesthetics and ergonomics of a hydraulic jack. First explain what these
terms mean and then discuss their application on a hydraulic jack.​

Answers

Answer:

For this model, aesthetics is defined as a measure of how attractive a product appears, and ergonomics is how well a product feels when used/held. ... Two important types of defects, part flash and crush, will be used to define ergonomic and aesthetic PA's, respectively.

What option is found in the Alignment tab of the Format Cells dialog box? Fill Effect Merge Cells Strikethrough Supercript

Answers

Answer:

B. Merge cells.

Explanation:

The options that are available in the Alignment tab in the Format Cells dialog box are text alignment (horizontal, vertical), text control (wrap text, shrink to fit, merge cells), text direction, and orientation.

Therefore, from the given options the correct one is B, merge cells.

The merging option, in Microsoft Excel, enables the users to merge two or more cells into one large cell.

Thus, option B is correct.

Write a letter to the editor of a national newspaper complaining about the bad roads in your town or city, and giving at least three reasons why something should be done urgently about them.​

Answers

Answer:

Dear editor.

I am writing this letter to alert you to the serious problems we are facing on the main highways of our city, where traffic is completely neglected and the number of accidents has grown at an alarming rate.

Our highways have holes in the roads, lack of signage, traffic lights with malfunction and lack of traffic guards. All of this has left the traffic in the city a real chaos and has caused a great risk to the lives of drivers and pedestrians.

We went to the city hall to ask for a solution to this problem, but we didn't get an answer. For this reason, I come, humbly, to ask you to address this problem in your newspaper so that the attention of the authorities is brought to your attention.

Thank you in advance for your time and consideration.

Regards,

(Your name)

Our ways of communicating in society will change mostly due to: O A. our desire to be isolated. O B. a population decline. O O C. changes in technology O D. alterations in our brains.​

Answers

Answer:C

Explanation:

i was trying to put in a question but branily.in kept saying Don't use such phrases here, not cool! It hurts our feelings :( BUT WAT DID I DOOOO? its about keyboarding class

Answers

It’s because you used a word Brainly doesn’t allow

1. What is hydrolics?​

Answers

Answer: Mechanical machines that use liquids to move.

Submit your business presentation that clearly compares and contrasts three different cell phone service plans..


I NEED IT DONE BY 5/24!!


I WILL PAY!!!!


100 points also


AND I WILL MAKE YOU BRAINLIEST!!

Answers

Answer:

My three phone service plans are T-Mobile, Verizon, and At&t.

How All of them compare is that the are phone companies and phone services. How T-Mobile contrast with Verizon is that T-mobile has  Bigger Nationwide 5g while Verizon has 5g for big cities, At&t doesn't have that much 5g yet. T-mobile has since combined with Sprint making it a bigger company. if you get Tello unlimited data from T-Mobile you pay $39 a month that means 468 dollars a year. Verizon's Unlimited plans are $80 a month that equals 960 a year. AT7T is much cheaper if you get the AT&T unlimited starters which is 35 a month so 420 a year. I  will go for T-mobile because it's not that cheap or expensive and it is very reliable.

Explanation:

Mark as Brainliest

covert algebraic expressions into mathematical expressions s=ut+at² ​

Answers

Answer:

Python Expression:

u*t+ (1/2)* a*t** 2

HELP FAST
You see this red line appear below your text as you are typing an email. The red line indicates that you should check for:

red squiggly line


grammar errors
grammar errors

sentence structure errors
sentence structure errors

punctuation errors
punctuation errors

spelling errors
spelling errors

Answers

Answer:

spelling errors and/or punctuation errors

How can you make a search phrase more effective?

A.
by framing it as a question
B.
by using more specific search terms
C.
by using a different search engine
D.
by using all the search terms you can think of

Answers

Answer: C.

Explanation:

What are computer Ethics.

Answers

Answer:

Computer ethics is the application of moral principles to the use of computers and the Internet.

Answer:

Computer ethics is defined as the analysis of the nature and social impact of computer technology and the corresponding formulation and justification of policies for the ethical use of such technology. The typical problem with computer ethics is the policy vacuum that arises from the new capabilities of the technology.

happy to help

Whst is the author's opinion about the school hours from 8:00 to 10:00 am?

Answers

Answer:

good

Explanation:

what is Internet?Write its importance in the today world.​

Answers

Answer:

Well it makes life easier of course we don't need it to survive but it just makes stuff easier

Explanation:

Answer:

The internet is a vast network that connects devices from all around the world allowing people to comment and share I information. the importance in today's world is extremely significant. People are able to communicate from any location. People can search anything up. People can make friends, videos and share ideas on the internet. people can have a voice through it and it greatly impacts our world as it has great impacts.

¿Quién recibe la orden de ejecución de un programa enviada por el usuario?

Answers

Answer:

El sistema operativo.

Explanation:

En ciencias de la computación, una orden es una instrucción a un sistema operativo de computadora para realizar una tarea específica. Generalmente, una orden se emite a través de una interfaz de línea de órdenes de otro programa. Así, se trata de una instrucción a un programa de computadora para que actúe como intérprete para resolver un problema.  

Por ejemplo, podemos pedir a través de una orden que muestre el contenido de una carpeta, buscar un archivo en particular y especificar mediante parámetros adicionales cómo se debe realizar esta acción (por ejemplo, utilizando expresiones regulares para realizar una búsqueda).

Asking yourself “do I have any new needs” is a method to fulfill which of the following steps of selecting an insurance program?

Reviewing the results

Developing a plan to reach the goals

Setting insurance goals

Putting the plan into action

Answers

I think it's Reviewing the results

WILL GIVE BRAINLEST!!!!!!!! 10 POINTS!!!!
What are the three necessary parts of an if statement?
Question 13 options:
1) if, a variable, a semi-colon
2) if, a print statement, a colon
3) if, a condition, a colon
4) if, a print statement, a semi-colon

Answers

Answer:

option 4 : if, a print statement, a semi-colon

Explanation:

Hope it helps :)

Answer:

i think 4

Explanation:

hope it helps

what is the software

Answers

Answer:

the programs and other operating information used by a computer.

Explanation:

Answer:

the programs and other operating information used by a computer

please answer fast..​

Answers

Answer:

a. False.

b. True.

c. False.

d. False.

Explanation:

a. False: Data stored in RAM are called firmware. It's the data stored in read only memory (ROM) are called firmware.

Radom Access Memory (RAM) can be defined as the main memory of a computer system which allow users to store commands and data temporarily.

Generally, the Radom Access Memory (RAM) is a volatile memory and as such can only retain data temporarily.

All software applications temporarily stores and retrieves data from a Radom Access Memory (RAM) in computer, this is to ensure that informations are quickly accessible, therefore it supports read and write of files.

b. True: a register is a temporary storage device within the central processing unit (CPU) of a computer system. Thus, it is designed to quickly accept, store and transfer data or instructions being used on a computer system.

c. False: the result obtained after data processing is given by input devices. Any result obtained after data processing is given by output devices such as speakers, monitor, projector, etc.. Input devices such as keyboard, mouse, scanner, etc., are used for entering the data into a system.

d. False: E-shopping allows us to make deposits, withdrawal and pay bills with the click of a mouse.

E-shopping can be defined as a marketing strategy that deals with meeting the needs of consumers, by selling products or services to the consumers over the internet.

This ultimately implies that, E-shopping is strictly based on the buying and selling of goods or services electronically, over the internet or through a digital platform. Also, the payment for such goods or services are typically done over the internet such as online payment services.

PYTHON CODING LANGUAGE (i am a beginner)


Please write a few lines of code.

Here is a scenario:

In order to find the pay, you need to multiply the rate and hours.

*USE VARIABLES

Answers

#let the user input data
Hours = int(input(“enter how many hours were worked”))

Pay_rate = float(input(“Enter the pay rate”))

Pay_amount = Pay_rate * Hours
#calculate the wages


Print (Pay_amount)
#print the final answer

Submit your business presentation that clearly compares and contrasts three different cell phone service plans. I have TO HAVE IT DONE BY 5/24 I WILL PAY!!!!!! I WIll MAKE YOU BRAINLIEST... I WIll give points

Answers

Answer:

Ufone - It offers complete hybrid package for its user which includes 1000MB mobile data, 300 local call minutes, 1000 minutes on the same network and 15000 SMS.

Telenor - Telenor does not offer hybrid packages instead user has to purchase call and SMS packages separately but its packages are cheap.

Jazz - It offers unlimited data, unlimited call and SMS for the entire month. It is most suitable for professionals and businessmen who cannot keep track for their calls and SMS.

Explanation:

The cell phone service providers offer different plan for their customers. They introduces offer which is most demanded by their customers and they target their audience and tries to retain them by offering them special packages which suites them.

How is communication different from data transfer?

A) Communication includes more than one party; data transfer only includes one party.
B) Communication includes e-mails and voice calls; data transfer includes downloading files and streaming.
C) Communication includes voluntary data transfer; data transfer includes unknowingly sharing information with strangers.
D)Communication includes permanently sharing information; data transfer includes temporarily sharing information.

Answers

Answer:

B) Communication includes e-mails and voice calls; data transfer includes downloading files and streaming.

Explanation:

Communication can be defined as a process which typically involves the transfer of information from one person (sender) to another (recipient), through the use of semiotics, symbols and signs that are mutually understood by both parties. One of the most widely used communication channel or medium is an e-mail (electronic mail).

The linear model of communication comprises of four (4) main components and these are; sender, message, channel and receiver (recipient).

Data transfer can be defined as the transmission of analogue or electronic data such as pictures, music, videos, texts, etc., from one computer node to another computer system through the use of various techniques and technologies.

Communication differs from data transfer in the sense that communication involves the use of channels such as e-mails and voice calls while data transfer includes downloading files and streaming over a Transmission Control Protocol and Internet Protocol (TCP/IP) network, through the use of a file transfer protocol (FTP) on port number 20 or 21.

Which of the following is NOT a common tactic that scammers use to
steal personal information?

Answers

I can guess this.

Lets say you got a " virus " on your computer and said to call this number 111-111-111-1111

" Hello sir, how may we help you today " This can be a robot, and can show maybe that it isnt a scam and can be seen as a message bot so they can record, and send you to the correct line for your issue.

You say " I got this virus on my computer and it said This computer has a virus known as a " insert virus name " and to call this number.

Avatars can help abused children: O A. feel safe and more confident. O B. connect with the police. O C. find a better living situation. O D. eat tasty and nutritious meals.​

Answers

Answer:

A. feel safe and more confident.

Explanation:

An avatar can be defined as an image, icon or figure that graphically represents an end user or the user's character (personality). It is also referred to as a profile picture or user's identity on an internet forum, video games, etc.

Basically, an avatar isn't a true representation of a user because it typically involves the use of an icon, symbol or digital image rather than an authentic (real) image.

Generally, an avatar is mostly used by people who wishes to conceal their identity or remain anonymous over the internet. Thus, other members of the web wouldn't be able to tell exactly who is operating a particular account with an avatar.

For example, a child that has been a victim of any form of abuse either physically or psychologically may choose to use an avatar so as to conceal his or her identity from the general public, thereby boosting his or her confidence, morale and safety.

Hence, avatars can help abused children feel safe and more confident.

Answer:

A. feel safe and more confident

Explanation:

What is the function of HTML?

Answers

Explanation:

HTML is used to create web pages, documents.

hope this helps u

There is no functions in html:

It is only used to create documents for the web browser.

here is an example file of html, and css:

<!DOCTPYE html>

<html>

<head>

<title>There is no function to html</title>

<style>

#heading {

color: red;

}

</style>

</head>

<body>

<h1 id="heading">There are no functions in html</h1>

</body>

</html>

yeah

What should you keep in mind when adding contents to your digital portfolio?
The contents of the portfolio will depend on the _____

Answers

Answer:

The contents of the portfolio will depend on individual education, work experience and future goals

Explanation:

The contents of the portfolio will depend on the following -

a) Work biography/experiences

b) Career goals

c) personal details

d) contact information

e) Professional photograph

f) Relevant skills

g) Relevant documents, certificates, degree etc.

etc.

Answer:

target audience

Explanation:

plato/edmentum

Which of the following are steps your employer can take to protect you from
heat-related illnesses?

Answers

Answer:

An employer with workers exposed to high temperatures should establish a complete heat illness prevention program. Provide workers with water, rest and shade. Allow new or returning workers to gradually increase workloads and take more frequent breaks as they acclimatize, or build a tolerance for working in the heat.

Other Questions
Anastasia hits her golf ball off the tee. The height of the golf ball is modeled by the function f(x) =-5x^2+25x+1, where x is the number of seconds after the golf ball is hit. How long is the golf ball in the air? Write an explicit formula for the following sequence. Find the fifteenth term.10, 11, 12, 13, 14, ... that is the girl.i like her much change into one sentence joining with relative pronoun Somebody help me out I keep getting them wrong !!!! ?????????? PLZZ no files Marcos needs to buy a piece of fabric with a length of 1.3 meters. The fabric costs $0.45 per inch.Marcos determines the calculation as 1.3m100cm1m(2.54cm$0.45lin.= 148.59.linWhat is the error in Marcos' reasoning, and how much will the fabric cost?Marcos made an incorrect conversion from centimeters to inches. The correct price is $23.03.BMarcos made an incorrect conversion from centimeters to inches. The correct price is $14.86.Marcos made an incorrect conversion from meters to centimeters. The correct price is $23.03.DMarcos made an incorrect conversion from meters to centimeters. The correct price is $14.86.Im As seen on an income statement:a. interest is deducted from income and increases the total taxes incurred.b. depreciation reduces both the pretax income and the net income.c. depreciation is shown as an expense but does not affect the taxes payable.d. the tax rate is applied to the earnings before interest and taxes when the firm has both depreciation and interest expenses.e. interest expense is added to earnings before interest and taxes to get pretax income. if the probability of rain tomorrow is 0.15 what is the probability that it will not rain What's the answer to "find the value of 121 + 3125" "? What is the mode of this data set?12, 12, 13, 14, 17, 16 achel rolls two number cubes, each with sides that are labeled 1 to 6. What is the probability that onennumber cube lands on a 1 and the other lands on an even? Initially Sam receives $40 and every year she receives a deposit that increases the amount by $20 fromthe previous year. Find the total amount deposited by her 18th birthday. Fill in the blanks with the correct form of either the verb ser or the verb estar.1.Yoenfermo hoyalta.2.Nosotros3.Ten la escuela4.Ellosamericanos5.Juanfeliz.6.una persona amable.delicioso.8.9.bonitas.TEste pescadoVosotrasCmoDndeDe dnde10.11.t hoy?Juan?t?12.13.Martnmdico.14.Mis plumas15.Ustedesrojas.con Paco y Jos.amigas de Felipe.baja.16.Ellas17.T What similarities do you observe about the rock formations of the Grand Canyon and Waimea Canyon? 1. What is hydrolics? Please help with this hurry please What do shots feel like? Please explain what it feels like. fred has 15000 in his savings account with an interest rate of 1.8%. assuming he doesn't add or subtract from this amount, find the estimated account balance after 22 years helppp pleaseee:(im failing The CEO of a large manufacturing company is curious if there is a difference in productivity level of her warehouse employees based on the region of the country the warehouse is located. She randomly selects 35 employees who work in warehouses on the East Coast (Group 1) and 35 employees who work in warehouses in the Midwest (Group 2) and records the number of parts shipped out from each for a week.She finds that East Coast group ships an average of 1276 parts and knows the population standard deviation to be 347.The Midwest group ships an average of 1439 parts and knows the population standard deviation to be 298.Using a 0.01 level of significance, test if there is a difference in productivity level. What is the test statistic?(Round to 4 decimal places)z = please use excel to solve Which statement is true for the values of Pand Q on this number line? + Q + -2 1 -4 -3 0 1 A 4 B. PxQ5 C P+Q> -4 D P - Qo