QuestionQ227

VerifiedData Collections – Tuples, Dictionaries, Lists, and Strings

Which code snippet would you add at the indicated line to display The highest number is 10 and the lowest number is 1. on the monitor?

Question Image

Explanation

The built-in max(data) returns the greatest element of the list, 10, and min(data) returns the smallest element, 1. The required assignment snippet is not among the listed choices.

Community Discussion

No comments yet. Be the first to start the discussion!