Computer Science, asked by heavendeviloriginal, 8 months ago

answer the attachment.please​

Attachments:

Answers

Answered by mohitx618
2

Answer:

2)

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

mn=int(input("enter month number"))

if i>12:

print("wrong number plz give a number. from1-12")

else:

print("month corresponds to given number is",months[mn-1])

Similar questions