Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create one python file for each task below Task 1 -Create a list with 5 items having 3 distinct data types -output the second element

Create one python file for each task below

Task 1

-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 2

-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 3

-Create a list of doubles (the data type double, minimum 3 values)

-output the minimum value

-output the maximum value

Task 4

-Create an empty list

-Ask the user for any input 5 times

-Only add the input to the list if it does NOT already exist

Task 5

-Ask the user for input 3 times

-Convert the inputs into a tuple

-Output the tuple

Task 6 Ask the user for 3 inputs starting number ending number increment number using for loop output each number from 0 to starting number output each number from 1 to starting number output each number from starting number to ending number output each number from starting number to ending number increasing by incremental number Task 7 using while loop, complete the four FOR loops above

Task 8 Continually ask the user for a number until they have inputted a value between the range of 50-75 Escape the loop and display a congrats message Task 9 Count up from 1-20 by ones Skip the numbers 6 and 13 Task 10 Count down from 60 to 12 by 3s Skip the odd numbers

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

Step: 3

blur-text-image

Ace Your Homework with AI

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

Get Started