1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
oksano4ka [1.4K]
3 years ago
7

Problem 1: Create a list that contains the months of the year. Problem 2: Create a loop to print the month number and name (do n

ot hard code the month number)
Computers and Technology
1 answer:
mart [117]3 years ago
8 0

Answer:

Program for problem 1:

Month_name=['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'] # List which holds the month name.

Program for problem 2 :

Month_name=['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'] # List which holds the month name.

for x in range (0,12): # loop which is used to print the name and number of the month.

  print(str(x+1)+" "+Month_name[x]) # It will print the number and month name.

Output of problem 1:

The program for problem 1 has no output because it has no print statement.

Output of problem 2:

The above program will print all the months with their number in which the first text will print the number of the month and the second text will print the name of the month.

Explanation:

Missing information:

"Design the program for problem 1 and problem 2" is missing on the above question.

Detailed Explanation:

  • The above program is in python language in which the first line creates a list of the names of the months.
  • Then the "for loop" is used to print the number and name of the program.
  • In this "for loop", the list index is printed by adding 1 on it with the value which is the name of the month.
  • It is because the list starting index value is 0 and the ending index value is size-1.

You might be interested in
. wireless network adapters differ from regular networkadapters because theycontain………………..
Nataly_w [17]

Answer: Transceivers

Explanation:

 Wireless network adapters differ from regular network adapters because they contain transceivers as, the transceiver is that portion of the network interface which transmitted the data by concerting digital data into the digital signals in the medium. Basically, the network adapter are responsible for connected the host in the network medium and also convert the binary form data.Transceiver signal are basically depends upon the type of the network.

8 0
3 years ago
how can i stop this stupid thing from sending me emails because my school decides to not give you a block option
tekilochka [14]

Answer:

If it on g mail you go to the spam box and then press the spammers to account and then press block and then you will block them.

5 0
3 years ago
Read 2 more answers
Happy Valentine's day!!
Lorico [155]
Happy valentine’s u too !!
7 0
2 years ago
One author states that Web-based software is more likely to take advantage of social networking (Web 2.0) approaches such as wik
kodGreya [7K]

Answer:

Yes

Explanation:

I will say Yes. There are very much limitless possible and future we can expect from social media and even more from social networking. Its capabilities from upcoming software in the future. Since the Internet is in its early days of growing and cloud computing being introduced there are way more possibilities in the future.

Social media can be duely applied by CIT (Computer Information Technologies) graduates. It can be used to improve them in their career and also will helps them connect professionally. Quora is one such platform which is not exactly like LinkedIn but pretty much serves the purpose.

6 0
3 years ago
Given a variable n refers to a positive int value, use two additional variables, k and total to write a for loop to compute the
maksim [4K]
You could do it like this (example for n=5).

int n = 5;
int total = 0;
for (int k = 1; k <= n; k++) total += k*k*k;

5 0
3 years ago
Other questions:
  • This operating system was used by individual computers an required users to type commands
    10·1 answer
  • What type of cable is used to connect a workstation serial port to a cisco router console port?
    15·1 answer
  • Structured walk-throughs take place throughout the SDLC and are called _____ reviews, depending on the phase in which they occur
    9·1 answer
  • A _______ object is used for storing data.
    9·2 answers
  • why might a portrait be both a portrait of the subject and the photographer? how is a photographer present in a portrait?
    10·2 answers
  • How do you innovate or improve a product?
    12·1 answer
  • In ____, data can move in both directions at the same time, such as with a telephone.
    11·1 answer
  • Write a C++ programthat reads in the side of a square and prints out a pattern on$
    13·1 answer
  • IF YOU GET 5/5 RIGHT YOU WILL GET BRAINLIEST AND 50 [POINTS
    15·2 answers
  • How should excel Identify social security numbers: as a text, numbers, or date and time? Why?
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!