Which of the following type of function used with strings in the Python language
Which of the following type of function used with strings in the Python language
returns the character with the highest ASCII value?
Show answerHide answer
Correct answer: (C) max ( )
Explanation
max() on a string returns the character with the highest ASCII/Unicode value, e.g. max("apple") gives "p". len() gives length; hvalue() and long() are not string functions.