Question: Question 1. Write your own Python code to achieve following purposes: 1) Create a list named mylist which has four numeric values:10, 20, 30, 40

Question 1. Write your own Python code to achieve following purposes: 1) Create a list named mylist which has four numeric values:10, 20, 30, 40 2) Create a list named mylist2, by adding 40 to each element in mylist using for loop. Question 2. Write your own Python code to create the dataframe below using a dictionary. apples oranges June 3 0 Robert 2 3 Lily 0 7 David 1 2 Question 3. Create a function that displays 'A' for grades greater than or equal to 90, 'B' for grades in the range 80-90, 'C' for grades 70-79 and 'F' for all other grades
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
