# Create a list with 5 items having 3 distinct data types: -output the second element of the list -output the

This problem has been solved!

Do you need an answer to a question different from the above? Ask your question!

## Question:

- 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

**Related Book For**

**View Solution**

Create a free account to access the answer

**Cannot find your solution?**

Post a FREE question now and get an answer within minutes.
* Average response time.

**Question Details**

Chapter #

**1**- Linear Algebraic SystemsSection: Exercise 1.8

Problem: 18