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

​Elaborate the functions of the three-tiered federal court system.
Show your work in order to receive full credit. Find the solution to the system. x=10 y=2x-4
when diveding 456.3by 100 how should the decimal point be move
Why was it important that the chorus represented the community talking to/about the "important people in the plays? Can you see a connection between the chorus
giving brainly if correct​
Cerca de malha metã¡lica preta wiremeshaibeiduo. Pt.
HELPPPP IM CRYINGGGGGG MY LAST QUESTION:
A race is planned for Saturday It may rain or be sunny. The race may be cancelled or be held. List all the possible outcomes for Saturday's race.​
Stainlesssteel-group. Es bobina de acero inoxidable.
Explain how a lion social group interacts with other social groups in its community (habitat).​