Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Get the following output using the appropriate string function. [ point 5 ] . Ask total of 5 numbers from the user and store them

Get the following output using the appropriate string function. [point 5].
Ask total of 5 numbers from the user and store them in the array. ( Single Dimensional )
Find the highest and lowest number from the array. (you dont find by yourself, write python code to find lowest and height value)
Print height and the lowest number
Delete the highest and lowest number using a loop.
(Dont specify the element position by yourself. Use a loop to find out the exact location of the lowest and highest number to delete]
Hint**For example: delete array [3](This is wrong)
Delete array[i](Use loop-This is correct)
Print length of the final array. (it should be 3)
For example:

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

DB2 9 For Linux UNIX And Windows Advanced Database Administration Certification Certification Study Guide

Authors: Roger E. Sanders, Dwaine R Snow

1st Edition

1583470808, 978-1583470800

More Books

Students also viewed these Databases questions