Welcome to AssignmentCache!

CYB/130 Week 3 Python LAB 4.18: Smallest and largest numbers in a list

Availability: In stock

$8.00

Quick Overview

CYB/130 Week 3 Python LAB 4.18: Smallest and largest numbers in a list


Write a program that reads a list of integers into a list as long as the integers are greater than zero, then outputs the smallest and largest integers in the list.


Ex: If the input is:
10
5
3
21
2
-6
the output is:
2 21


You can assume that the list of integers will have at least 2 values.

CYB130 4.18 LAB Smallest and largest numbers in a list

Double click on above image to view full picture

Zoom Out
Zoom In

More Views

  • CYB130 4.18 LAB Smallest and largest numbers in a list
$8.00

Details

CYB/130 Week 3 Python LAB 4.18: Smallest and largest numbers in a list

Write a program that reads a list of integers into a list as long as the integers are greater than zero, then outputs the smallest and largest integers in the list.

Ex: If the input is:
10
5
3
21
2
-6
the output is:
2 21

You can assume that the list of integers will have at least 2 values.

Additional Information

Special Price $3.00

Product Tags

Use spaces to separate tags. Use single quotes (') for phrases.

[profiler]
Memory usage: real: 18087936, emalloc: 17911760
Code ProfilerTimeCntEmallocRealMem