Python3 String Max
# Python3.x Python3 max() Method
[ Python3 Strings](#)
* * *
## Description
The max() method returns the largest alphabetical character in a string.
## Syntax
The syntax for the max() method is:
max(str)
## Parameters
* str -- The string.
## Return Value
Returns the largest alphabetical character in the string.
## Example
The following example demonstrates the usage of the max() function:
#!/usr/bin/python3 str = "tutorial"print ("Maximum character: " + max(str))
The output of the above example is:
Maximum character: u
* * Python3 Strings](#)
YouTip