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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started