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