Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions