jnrob900
jnrob900 jnrob900
  • 01-03-2020
  • Computers and Technology
contestada

1

CSCI 341

0 Assignment 3

(100



Write a program that defines symbolic constants for all
twelve months of the year


​

Respuesta :

problemsolver2019
problemsolver2019 problemsolver2019
  • 08-03-2020

Answer:

Lis=["Nothing","January", "February", "March", "April", "May", "June", "August", "September", "October", "November", "December"]

a= input(" Enter the Month Sequence Number")

print(Lis[int(a)])

Explanation:

We have created the list, and added each month name in it. We have added Nothing for 0 as 0 does not stands for any month, but list starts from 0 by default. We finally input a number, and displays the month meant by that sequence number, like september for 8.

Answer Link

Otras preguntas

what name is given to the long economic downturn that begin with the stock market crash of 1929
Answer only 44.Easy.I will pick brainlist
PLEASE ANSWER ASAP 30PTS How can you determine and object’s mechanical energy ?
Can somebody help me make sure this is correct
_____ is one of the first adverse aspects of use of alcohol.
what was the triangular trade? which countries did it involve? what goods were exchanged?
Housands of japanese american were forced to leave their homes and live in government provided communities for the duration of wwii. these temporary housing uni
What is the canal leading from the bladder to outside of the body call?
A triangular field with vertices OPQ has sides OP = 402 m, PQ = 388 m, and QO = 254 m. Find the perpendicular distance from the vertex P to the opposite side.
A watermelon seed is 0.4cm long. How far would a line of 122 watermelon seeds stretch