Create a list of 20 unique (no number appears twice) random integers with
values
between 1 and 45. Print the list of random numbers with the header “Random list
of 20
numbers”.
Find the largest number in the list. Remove the largest number from the list.
Find the
smallest number in the list. Remove the smallest number from the list. Print
the length
of the list with the header “The length of the list is: ”
Print the list with the header “The list with the largest and smallest number
removed: ”
Sent from Windows Mail
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor