Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please code this in python , in basic only thank you! i need this asap Write a python program that accepts an indefinite number of

Please code this in python , in basic only thank you! i need this asap

image text in transcribed

Write a python program that accepts an indefinite number of real numeric values. The number of the values to be entered is determined by the user. Values are stored in a list. Once the values are entered, sort the list elements and determine and display both the largest and the smallest among the values. Display the contents of the list as well. Sample Output 1 How many floating point values to enter? -3 INVALID INPUT. Please enter a non-zero value. How many floating point values to enter? INVALID INPUT. Please enter a non-zero value. How many floating point values to enter? 3 Enter value 1: 16 Enter value 2: 83 Enter value 3: 2.5 Contents of List: [2.5,3.0,16.0] Highest value: 16.000000

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

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Create a workflow analysis.

Answered: 1 week ago