47. (2 points) What will the following code print? my list (nºn) forn in range(5) if(nn)%2 == 0) print(my_list) Answer: Assum

47. (2 points) What will the following code print? my list (nºn) forn in range(5) if(nn)%2 == 0) print(my_list) Answer: Assume that the variable data refers to the list 15, 3.71. Write the value of the following expressions for questions 48-49. 48. (1 points) datal-1] Answer: 49. (1 points) O in data Answer: 50. (4 points) Given my diet – {‘a’:3,”x”:7, ‘r’:5), write Python code to print all the key and value pairs of my dict. Answer:



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *