Write a short program that asks the user to enter a month & prints a message based on the month

Answers

Answer 1

Answer:

The Code:

def month(x):

    if (x==1):

        print ("January")

    if (x==2):

        print("February")

    if (x==3):

        print("March")

    if (x==4):

        print("April")

    if (x==5):

        print("May")

    if (x==6):

        print("June")

    if (x==7):

        print("July")

    if (x==8):

        print("August")

    if(x==9):

        print("September")

    if(x==10):

        print("October")

    if(x==11):

        print("November")

    if(x==12):

        print("December")

    if(x<1 or x>12):

        print("Wrong Input! Try again")

month = int(input("Enter the month number: "))

month(month)

Explanation:

The above program is written in the PYTHON programming language.

In this program, the user inputs the number of any month, showing the month name in the output. For example,

if user enters 1, month name = JANUARY

if user enters 5, month name = MAY

and if the user enters 13, then output = Wrong Input! try again

#SPJ2


Related Questions

The standard naming convention prefix tag for a query used to identify the object type is?

Answers

Answer: qry

I hope this helps!

______ data is data that has not been processed for use. Multiple choice question. Raw Fast Decision Source

Answers

Answer: Raw Data

Explanation:

Raw data (sometimes called source data, atomic data or primary data) is data that has not been processed for use.

Which option can be used to import selected slides form a previously created presentation into a new presentation without manually copying and pasting them?

Answers

An option which can be used to import selected slides form a previously created and existing presentation into a newly created presentation without having to manually copy and paste them is reuse slide.

What is a presentation application?

A presentation application can be defined as a type of computer application which is designed and developed to avail its end users an ability to create various slides that contains both textual and multimedia information, which are typically used during a presentation.

What is a slide?

A slide can be defined as a single page of a presentation that contains text-based information or images, which can be used by a presenter to teach, instruct and educate the audience on a topic.

In Computer technology, reuse slide is an option which can be used to import selected slides form a previously created and existing presentation into a newly created presentation without having to manually copy and paste them.

Read more on slides here: brainly.com/question/11741377

#SPJ1

The tcp protocol provides error detection and correction.

a. True
b. False

Answers

B. False

Explanation

TCP provides reliable, ordered, and error-checked delivery of a stream of octets (bytes) between applications running on hosts communicating via an IP network.

Which of the following describes the IP address of a router to which packets destined for a remote network should be sent by default

Answers

The term that describes the IP address of a router to which packets destined for a remote network should be sent by default is the a gateway of last resort.

What is 'Gateway Of Last Resort'?

A Gateway of Last Resort is known to be the Default gateway and this is said to be a route that is known to be often used by the router if no other known route is seen to transmit the IP packet.

Note that Known routes are seen in the routing table. but, any route not known by the routing table is said or known to be forwarded to the default route.

Hence the primary function of a router is so that it can forward packets toward a given destination.

Therefore, The term that describes the IP address of a router to which packets destined for a remote network should be sent by default is the a gateway of last resort.

Learn more about IP address from

https://brainly.com/question/24930846

#SPJ1

In order to prevent ports that are serving network hosts from being considered as best paths, what should be enabled to block bpdus?

Answers

In order to prevent ports that are serving network hosts from being considered as best paths, BPDU guard should be enabled to block bpdus.

What are BPDU used for?

A bridge protocol data unit (BPDU) is known to be a kind of a data message that is known to be often  transmitted in a local area network to be able to know or find loops in that given network topologies.

Hence, in the case above, In order to prevent ports that are serving network hosts from being considered as best paths, BPDU guard should be enabled to block bpdus.

See full question below

. In order to prevent ports that are serving network hosts from being considered as best paths, what should be enabled to block BPDUs?

a. BPDU filter

b. BPDU guard

c. root guard

d. BPDU drop

Learn more about ports from

https://brainly.com/question/10097616

#SPJ1

Jenny wants to create a network that can be accessed from any room in her house without physically connecting. Which type of network medium should she use?

Answers

Well I use AT&T in my house it works in all the rooms I suggest using AT&T

The type of network medium Jenny should use is wireless networks.

Given data:

Jenny should use a wireless network medium to create a network that can be accessed from any room in her house without physically connecting.

Wireless networks use radio waves or infrared signals to transmit data between devices, allowing for flexible connectivity without the need for physical cables.

Devices such as smartphones, laptops, tablets, and smart home devices can connect to the wireless network and access the internet or communicate with each other.

To learn more about wireless networks, refer:

https://brainly.com/question/31630650

#SPJ3

Which type of loop is specifically designed to initialize, test, and increment or decrement a counter variable

Answers

A type of loop which is specifically designed and written to initialize, test, and increment or decrement a counter variable is referred to as a for loop.

What is a for statement?

A for statement can be defined as a type of statement (loop) that is designed and written by a computer programmer to repeat an action or event in a software program for a specific number of time.

In Computer programming, a for statement is a type of loop which contains three expressions and these include the following:

InitializationTestUpdate (increment or decrement).

In conclusion, we can infer and logically deduce that a for loop is a type of loop which is specifically designed and written to initialize, test, and update (increment or decrement) a counter variable

Read more on statements here: brainly.com/question/18736215

#SPJ1

Question 3 Fill in the blank: Curiosity, understanding context, having a technical mindset, data design, and data strategy are _____. They enable data analysts to solve problems using facts.

Answers

Curiosity, understanding context, having a technical mindset, data design, and data strategy are data driven.

What are data driven skills?

Data-driven decision-making is known to be one that entails the five analytical skills which are:

curiosity, understanding context, having a technical mindset, data design, data strategy.

Hence,  Curiosity, understanding context, having a technical mindset, data design, and data strategy are data driven.

Learn more about Curiosity from

https://brainly.com/question/4975503

#SPJ1

When patel’s advertising co. decided to upgrade its computer network, many people were involved in the decision. In b2b buying systems, decisions are often made:_____.

Answers

In b2b buying systems, decisions are often made by by a committee after a lot of considerable deliberation.

What is Business-to-Business service?

Business-to-business is known to be a kind of a scenario where one business is said to often makes a commercial transaction with another kind of business.

The B2B decision-making process is known to be made up of some discrete tasks such as:

Knowing that there is an issue or need.Examining  and comparing the available alternative or solutionsDefining the requirements that is needed for the product and others.

Hence, In b2b buying systems, decisions are often made by by a committee after a lot of considerable deliberation.

Learn more about b2b from

https://brainly.com/question/26506080

#SPJ1

which of the following is acomputer program that detects, prevents. and takes action sto deactivate or remove malicious programmsd

Answers

Answer:

antivirus software is the answer to prevent computer from malicious program

Theorem: for any two real numbers, x and y, if x and y are both rational then x y is also rational. Which facts are assumed and which facts are proven in a proof by contrapositive of the theorem?

Answers

The facts that are assumed and the facts  that are proven in a direct proof of the theorem is that option a) Assumed: x is rational and y is rational and Proven: x + y is rational.

What is a theorem?

The term known as theorem is known to be a kind of a formula, or statement that is seen in a lot of mathematics field and it also known top  be the logic deduced.

Note that it is also seen as the result that is said to have been proved to be true (through the use of operations and facts that are said to be already known).

Therefore, The facts that are assumed and the facts  that are proven in a direct proof of the theorem is that option a) Assumed: x is rational and y is rational and Proven: x + y is rational.

Learn more about Theorem from

https://brainly.com/question/343682

#SPJ1

See full question below

Theorem: For any two real numbers, x and y, if x and y are both rational then x + y is also rational. Which facts are assumed and which facts are proven in a direct proof of the theorem?

a) Assumed: x is rational and y is rational

Proven: x + y is rational

b) Assumed: x + y is irrational

Proven: x is irrational and y is irrational

c) Assumed: x + y is rational

Proven: x is rational or y is rational

d) Assumed: x is rational or y is rational

Proven: x + y is rational

I am an early adopter of new technology Overall, I am comfortable using new technology It is easy for me to use a camera on a phone, tablet, or computer I enjoy using new technology

Answers

Answer:

Information and Communication Technology.

Explanation:

Due to ICT, individuals have learn how electronic devices operate and how they should handle it, and its benefits to them.

Thunder lightning manufacturing, inc. developed its annual manufacturing overhead budget for its master budget for 2021 as follows: expected annual operating capacity 120,000 direct labor hours variable overhead costs indirect labor$600,000 indirect materials120,000 factory supplies 60,000 total variable 780,000 fixed overhead costs depreciation240,000 supervision120,000 property taxes 96,000 total fixed 456,000 total costs$1,236,000 the relevant range for monthly activity is expected to be between 8,000 and 12,000 direct labor hours. prepare a flexible budget for a monthly activity level of 8,000 and 9,000 direct labor hours.

Answers

The flexible budget for a monthly activity level of 8,000 and 9,000 direct labor hours is illustrated below.

How to compute the flexible budget?

Particulars Direct labor hour

Variable Overhead cost

Indirect labor. $4000 $4500

Indirect material. $8000. $9000

Factory supplies. $4000. $4500

Total variable cost $52000. $58500

Fixed overhead cost

Depreciation. $20000. $20000

Supervision. $10000. $10000

Property tax $8000. $8000

Total fixed $38000. $38000

Total cost. $90000. $96500

Learn more about budget on:

brainly.com/question/6663636

#SPJ1

Class ____________ allow you to create one version of a class, without having to replicate code to handle multiple data types.

Answers

Class templates allow you to create one version of a class, without having to replicate code to handle multiple data types.

Answer:

Class templates allow you to create one version of a class, without having to replicate code to handle multiple data types.

Explanation:

A template is a general and already formatted standard that many people can use and customize on their own. For example, a PowerPoint template already has the font size, font, and background already picked, and you can put what you want on it.

Which principle is in effect when an analyst has a lower level of access than a client account lead (cal) working on the same project?

Answers

The The Principle of Least Privilege is known to be the principle that is in effect when an analyst has a lower level of access than a client account lead (cal) working on the same project.

What is the Principle of Least Privilege?

The Principle of Least Privilege is known to be one that tells that a subject is one that need to be given only those privileges that are said to be required for it to complete its task.

Note that If a subject is not able to or do not need an access right, the subject is one that need not to have that right. hence, the function of the subject should be the one that will control the assignment of rights.

Therefore, in regards to the above, The The Principle of Least Privilege is known to be the principle that is in effect when an analyst has a lower level of access than a client account lead (cal) working on the same project.

Learn more about analyst from

https://brainly.com/question/890849

#SPJ1

Completar Fill in the blanks with the correct familiar commands. dar (negative) 1 of 1 Question 2 with 1 blank hacer (affirmative) 1 of 1 Question 3 with 1 blank ir (negative) 1 of 1 Question 4 with 1 blank poner (affirmative) 1 of 1 Question 5 with 1 blank hacer (negative) 1 of 1

Answers

The affirmative command hacer is known as haz.

The affirmative tú command decir - diThe  affirmative tú command ir  - veThe  affirmative tú command poner -pon

What is the translation about?

The translation are:

The affirmative tú command to do is known as do.The affirmative tú command to say - diThe affirmative tú command ir - veThe affirmative tú command to put -pon

The Affirmative tú commands is known to be one that is said to be similar  as the él/ella/Ud.

Note that this  is seen as the conjugation of the present tense and it is one that is often  used to tell another person that you are familiar with that thing.

Hence, The affirmative command hacer is known as haz.

The affirmative tú command decir - diThe  affirmative tú command ir  - veThe  affirmative tú command poner -pon

Learn more about Spanish words from

https://brainly.com/question/26522612

#SPJ1

A coworker is exploring virtualization for some development projects, and is trying to decide between a bare metal hypervisor and a hosted one. Which of the following pieces of advice should you give

Answers

The pieces of advice that one should give are:

A hosted hypervisor will be easier to set up and maintain if you're new to virtualization.Bare metal hypervisors can run more VMs on the same hardware

What is virtualization?

Virtualization is one that depends on software so as to be able to simulate hardware functionality and make a kind of a virtual computer system.

Hence, The pieces of advice that one should give are:

A hosted hypervisor will be easier to set up and maintain if you're new to virtualization.Bare metal hypervisors can run more VMs on the same hardware

See full question below

A coworker is exploring virtualization for some development projects and is trying to decide between a bare metal hypervisor and a hosted one. Which of the following pieces of advice should you give? Choose all that apply

answer choices

A hosted hypervisor will be easier to set up and maintain if you're new to virtualization.

Bare metal hypervisors can run more VMs on the same hardware

You can run a bare metal hypervisor within your existing operating system.

Learn more about virtualization from

https://brainly.com/question/13204456

#SPJ1

What are the three modes of data communication and briefly explain each of them?

Answers

The three modes of data communication

The Full-duplex modeThe simplex mode The  half-duplex mode

What are three data transmission modes?

The Full-duplex mode is known to have a good and better performance when compared to simplex and half-duplex mode as it is known to often doubles the utilization in terms of the capacity of the communication channel.

The simplex mode in terms of its signal is known to be sent in one direction. In half duplex mode, the signal is said to be often sent in both directions, but it is also seen as one at a time.

Learn more about communication from

https://brainly.com/question/26152499

#SPJ1

You are reviewing a PR package for a grounds maintenance requirement. While reading the performance work statement (PWS), you notice the requesting activity described the work to be completed by establishing the methods and processes, including number of personnel and equipment to be used, the potential contractor must use to perform the work. What conclusion can you draw from the review of this PWS?

Answers

The conclusion that could be drawn from the review of this PWS is that Construction of a security fence and guardhouse, $2M, full-and-open competition.

What are PR packages?

PR packages is known to be  a kind of packages that are said to be made by a carefully selection of a brand's products and it is one that is often sent to what we call the list of influencers or some celebrities,

Note that this is often done with the hopes of them getting and also using the product and then they can also post it on his or her social media page.

Hence,  based on the scenario given above, The conclusion that could be drawn from the review of this PWS is that Construction of a security fence and guardhouse, $2M, full-and-open competition.

Learn more about PR package from

https://brainly.com/question/24466382

#SPJ1

Se options below

-Eighty high-end, commercial off-the-shelf computers, $230,000, GSA Supply Schedule

-Construction of a security fence and guardhouse, $2M, full-and-open competition

-Office furniture for 100 individuals plus 2 conference areas, $325,000, to be purchased through UNICOR

-Office supplies for nine months, $250,000, to be purchased through the AbilityOne program.

When making routine transponder code changes, pilots should avoid inadvertent selection of which code?

Answers

When making routine transponder code changes, pilots should avoid inadvertent selection of  code. 7700.

What are the  transponder code that pilot  should  avoid?

Under normal as well as non-emergency operations, it is very essential  for pilot to make sure he  avoid using the transponder codes of 7500,  as well as 7600, and 7700.

Especially  while switching  codes,  It is easy in switching by  pilot to  go to of these 3 codes on accident.

In this case, When making routine transponder code changes, pilots should avoid inadvertent selection of  code. 7700.

Learn more about general emergency on:

https://brainly.com/question/14331925

#SPJ1

Given five positive integers, find the minimum and maximum values that can be calculated by summing exactly four of the five integers. Then print the respective minimum and maximum values as a single line of two space-separated long integers.

Answers

Using the knowledge in computational language in JAVA it is possible to write a code that  print the respective minimum and maximum values as a single line

Writting the code in JAVA:

import java.io.*;

import java.util.*;

import java.text.*;

import java.math.*;

import java.util.regex.*;

public class Solution {

   public static void main(String[] args) {

       Scanner in = new Scanner(System.in);

       long sum = 0;

       long max = Long.MIN_VALUE;

       long min = Long.MAX_VALUE;

       for (int i = 0; i < 5; i++){

           long n = in.nextLong();

           sum += n;

           max = Math.max(max, n);

           min = Math.min(min, n);

       }

       System.out.println((sum - max) + " " + (sum - min));

   }

}

See more about JAVA at brainly.com/question/12974523

#SPJ1

What is an identifier that an online transaction is safe?

Answers

Answer: Look for third-party verification from TRUSTe or the Better Business Bureau symbol.

Explanation:

Having an SSL certificate is a sign that online transactions are secure. Secure Sockets Layer, or SSL, is a cryptographic technology that enables secure Internet communications.

A website's SSL certificate ensures that any data sent between the user's browser and the website's servers is encrypted and protected from unauthorized access. Look for the secure connection indicator "https://" at the beginning of the website's URL. Additionally, look for the padlock icon in the address bar to verify encryption. Some websites may show a green address bar or organization name if they have Extended Validation SSL certificates.

Learn more about SSL certificate, here:

https://brainly.com/question/32251706

#SPJ6

Frank's organization is preparing to deploy a data loss prevention (DLP) system. What key process should they undertake before they deploy it

Answers

The key process they should undertake before they deploy it is to Implement and use a data classification Scheme.

What is Data Loss?

This refers to the data breach where sensitive data is compromised and collected by a hac.ker.

Therefore, the use of a data loss prevention (DLP) system is important as it saves the precious data from being lost or tampered with.

With this in mind, the thing that should be done before deploying the DLP system is to Implement and use a data classification Scheme.

Read more about data loss here:

https://brainly.com/question/15027705

#SPJ1

Mary and Billy are moving away to college and both know in their hearts that they need to end their relationship. They move away with a mutual agreement to breakup and leave peacefully. What is this called

Answers

In the case of Mary and Billy, the above is called Negotiated farewell.

What is Negotiated farewell?

In the case of  Negotiated Farewell, one can say that couples are knonw to jointly create the story of the end to what we say their marriage.

Note that Negotiated Farewell is one that is made for emotionally immature or any kind of combative people. hence, In the case of Mary and Billy, the above is called Negotiated farewell.

Learn more  about relationship from

https://brainly.com/question/10286547

#SPJ1

A web developer requires an environment to perform application testing. Which cloud service type does the developer choose to use

Answers

The cloud service type that the developer choose to use is known to be PaaS.

What is PaaS?

Platform as a service (PaaS) is known to be a full development and deployment environment that is seen in the cloud, and it is made up of resources that helps users to deliver a lot of things from simple cloud-based apps to strong, cloud-enabled firm's applications.

Hence, in the case above, The cloud service type that the developer choose to use is known to be PaaS.

Learn more about PaaS from

https://brainly.com/question/20600180

#SPJ1

Program ________ graphically present the detailed sequence of steps needed to solve a programming problem.
i. flowcharts
ii.pseudocode
iii. loops
iv. modules

Answers

Software program flowcharts graphically present the detailed sequence of steps needed to solve a programming problem.

What is a flowchart?

A flowchart is also referred to as flow diagram and it can be defined as a graphical representation of an algorithm for a work process or workflow.

This ultimately implies that, a flowchart make use of the following standard symbols to graphically represent the sequential steps that are needed to solve a programming problem and are typically associated with a system, work process or workflow i.e from the beginning (start) to the end (finish):

ArrowsRectangleDiamondOvalParallelogram

Read more on flowchart here: brainly.com/question/6532130

#SPJ1

Program flowchart graphically present the detailed sequence of steps needed to solve a programming problem.

What is Program flowchart?

The program flowchart can be regarded as the  data flow  which help to display the data flow while writing a program or algorithm.

This chart user to explain the process quickly  when dealing or  collaborating  with others, hence, Program flowchart graphically present the detailed sequence of steps needed to solve a programming problem.

Learn more about Program flowchart on:

https://brainly.com/question/24735155

#SPJ1

What is a "Top-Level Domain Name"?

Answers

A top-level domain is known to be an aspect of a domain that quickly follows the last dot symbol that is seen in a domain name.

What is a "Top-Level Domain Name"?

This is known to be the biggest level in terms of the hierarchical Domain Name System of the Internet.

Note that TLD (top-level domain) is said to be the most generic domain that is seen on the Internet's hierarchical DNS (domain name system) as A top-level domain is known to be an aspect of a domain that quickly follows the last dot symbol that is seen in a domain name.

Learn more about Domain Name from

https://brainly.com/question/13437432

#SPJ1

An instructor has given a student an assignment to assemble a pc. in which situation should the student be aware that esd is an issue?

Answers

When installing RAM situation is one where the student should be aware that esd is an issue.

What is the RAM in a computer?

RAM is a term that connote random-access memory and a computer RAM is known to be a kind of a short term memory and it is a place where data is said to be saved as at the time that the processor needs it.

Hence, When installing RAM scenario is one where the student should be aware that esd is an issue and then one can resolve it.

See full question below

An instructor has given a student an assignment to assemble a PC. In which situation should the student be aware that ESD is an issue?

when installing RAMwhen working in a corporate environment that has carpet installed under tower PCswhen using a grounded mat and working on a computer on an ungrounded workbenchwhen installing a dual-voltage power supply

Learn more about RAM from

https://brainly.com/question/13196228

#SPJ1

The _________ tag allows a web page to include interactive content, which the browser assumes to be javascript unless indicated otherwise.

Answers

The <script> tag allows a web page to include interactive content, which the browser assumes to be javascript unless indicated otherwise.

What is a script tag?

The <script> tag is known to be a tool that is often employed or used in regards of or to embed a client-side script (JavaScript).

Hence, The <script> tag allows a web page to include interactive content, which the browser assumes to be javascript unless indicated otherwise.

Learn more about tags from

https://brainly.com/question/13153211

#SPJ1

Other Questions
Which of the following amendments have been selectively incorporated to the states using the Fourteenth Amendment The common bile duct merges with the pancreatic duct, forming an expansion called the:_______ The enthalpy of vaporization of Bromine is 15.4 kJ/mol. What is the energy change when 80.2 g of Br2 condenses to a liquid at 59.5C? what is e-reputation? For a second order reaction, if [A]^-1 is plotted vs. time, which corresponds to the slope of the plot?a. 1/ab. Kc. 1/kd. Ln[a]e. -k Skyler uses a surgical procedure that rina might encojnter with her clients is_____, which removes the epiderrmal layer and requires a recovery period Leigh has information on how many customers purchase bagels at her coffee shop. With the bagel sales numbers from the past four months, she wants to is natalie davis actively involved in the decisions of the business woolworths A bypass or shunt operation that diverts the cerebrospinal fluid is treatment for:. Molly wants to buy a dress that costs $20. She has a coupon for 40% off, and there is a 10% sales tax. how much will she pay all together 1. after using the coupon what is the sale price of the dress Show Your Work 2.how much is th 10% tax on the sale price Explain how you found your answer Difference of Squares gives which complex factors for the expression x +11?A. (x+11)2(x-i11)B. (x+11)(x+11)C. (x-i11)(x-11)D. (x+11)(x - 11) The populist platform of 1892, adopted at the partys omaha convention, remains a classic document of american reform. Identify the statements that describe the populist platform of 1892. What should you point out when demonstrating the confident cornering of a 2023 murano awd through a sweeping curve?. write a letter to an institution or a company for employment as a messenger When purchasing a consumer item, the author emphasizes _______________ the most. inverse function of f(x)=x-7/x+4 What clues does the author leave for the reader to foreshadow Charlies manipulation of Gaby and Carmen? The Great Greene Heist picture has all you need to know.i need help with #3. thank you! If an advertiser doesn't want to add remarketing tags to a website, why would Customer Match be a good fit for them? The board will officially launch the new water project before October.(re-write the sentence in passive voice)