Question: undefined Question 21 (1 point) Demonstrate your knowledge (include zip and f-strings in your solution) Given 2 related lists names=['Joe', 'Amy', 'Lil', 'Poe', 'Ali', 'Sid']
undefined
Question 21 (1 point) Demonstrate your knowledge (include zip and f-strings in your solution) Given 2 related lists names=['Joe', 'Amy', 'Lil', 'Poe', 'Ali', 'Sid'] grades=[65, 63, 89, 96, 59, 81] Write a program to output who passed and who failed. Passing is greater than or equal to 65. Example Output Joe, you passed! Amy, you need to study more! Lil, you passed! Poe, you passed! Ali, you need to study more! Sid, you passed! Question 22 ( 1 Point) Given this list: metals = ['tin', 'copper', 'brass', 'gold', 'iron', 'lead') Write a program to loop through each element and use a conditional test to match the output below. Capitalization counts. Example Output Darn Tin, I have no luck Darn Copper, I have no luck Darn Brass, I have no luck Gold, Gold, I'm rich, I'm rich!!! Darn Iron, I have no luck Darn Lead, I have no luck
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
