Python3 max () method
description
max () method returns a string in the largest letters.
grammar
max () method syntax:
max(str)
parameter
- str - a string.
return value
Returns a string in the largest letters.
Examples
The following example shows the max () function to use:
#!/usr/bin/python3 str = "w3big" print ("最大字符: " + max(str))
Examples of the above output results are as follows:
最大字符: u