Computer Science, asked by prachiteshswain10, 4 months ago

Write a statement in Python to declare a dictionary whose keys are 1, 2, 3

and values are Monday, Tuesday and Wednesday respectively.​

Answers

Answered by kaurmanveer1997
21

Answer:

a={'1':'MONDAY','2':'TUESDAY','3':'WEDNESDAY'}

print (a)

Explanation:

Answered by duragpalsingh
3

Answer:

Day={1:'monday',2:'tuesday',3:'wednesday'}

Explanation:

Dictionary has two main things i.e {key:'value'}.

here keys are 1,2,3 respectively.

and their values are monday, tuesday, wednesday.

Therefore, We can decleare the dictionary as:

Day={1:'monday',2:'tuesday',3:'wednesday'}

Learn More on Brainly.in:

Given the lists L=[1,3,6,82,5,7,11,92] , write the output of print(L[2:5])​

brainly.in/question/25870565

Suppose a tuple T is declared as T = (10, 12, 43, 39) , which of the following is incorrect? a) rint * (T[1]) b) T[2] = - 29 c) print * (max * (T)) d) print (len * (T))​

https://brainly.in/question/30819138

Similar questions