Question: 0 pts) 1 have a dictionary defined by pointe -A 2 B:3,C: 8,D: 3, E:) which assigns a point value to some of the letters.
0 pts) 1 have a dictionary defined by pointe -A 2 B:3,C: 8,"D: 3, "E:) which assigns a "point value" to some of the letters. Write code which tals a list named lets, and then prints out the sums of the point values for the elements of lets. Any letter not in the dictionary should get O peints. For ecampie,t then your code should print out 12, since 5+2+3+2+0-12 11. (5 pts) A sequence of numbers is given by 3, 10,30, 300,9000, 2700000,. where the first two elements are 3 and 10, and every element after is the product of the previous two. Write a Python function ff whose input is a positive integer n, and whose output is the nth number in the sequence. For excample ff (2) should have the value 10, and fs (4) should have the value 300
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
