Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

in python language Submission Your submission will be a single text-based Python file with appropriate header and commenting. Please ensure your file runs when the

in python language image text in transcribed
Submission Your submission will be a single text-based Python file with appropriate header and commenting. Please ensure your file runs when the entire file is executed in python. Create a new Python Developer. Save the file as SRT2110 ID# LASTNAME.pdf Your submission needs to be commented and include the question, the screenshot of output. Tasks QI: Create a program to generate a list called num_list that has n elements from a random integer number between the start to end, and the output of this program should print the following: - The original generate list (num_list). - The sorted num_list. - The minimum and maximum value in num_list. - The list of duplication number from the num_list. - The only even numbers without duplication from the num_list. (Must be Specifications The program inputs are: o nis length of the list, .... integer and greater than 40) o start of random generation number. o end of random generation number. and end greater than start) (Must be integer Note: - You need to show the output result for all exception error output. For example, input the n is -90 or n is 30. - You can use this command to generate random number from random import randrange randrange (0, 13) #this will generate Integer from 0 to 13 inclusive

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

Managing Your Information How To Design And Create A Textual Database On Your Microcomputer

Authors: Tenopir, Carol, Lundeen, Gerald

1st Edition

1555700233, 9781555700232

More Books

Students also viewed these Databases questions

Question

3 How supply and demand together determine market equilibrium.

Answered: 1 week ago