Question: PYTHON LANGUAGE Task 11 -Create a list with 5 items having 3 distinct data types -output the second element of the list -output the last

PYTHON LANGUAGE

Task 11

-Create a list with 5 items having 3 distinct data types -output the second element of the list -output the last element of the list using -negative index -positive index -len method

Task 12 -Create a list with 3 items -add an item to the end of the list -remove the first item of the list -determine if an item exists in the list -if it does, display its index -if it does not, give user message

Task 13 -Create a list with two items -Copy the values of the list above to create another list(hint, use slicing) -add a value to the first list -remove the last value of the second list -display both lists

Task 14 -Create a list of integers using the range method -display the list -randomize the values of the list -display the list again to demonstrate that the values have been reordered -display the amount of times the number 3 occurs in the first list

Task 15 -Create a list of doubles (the data type double, minimum 3 values) -output the minimum value -output the maximum value

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!