← 返回列表

Python3 字符串String Max 方法

Python3 字符串String Max 方法 #!/usr/bin/python3 str = "this is a string example....really!!!" print ("Max character: " + max(str)) str = "this is a string example....wow!!!" print ("Max character: " + max(str))

Python3 字符串String Max 方法

#!/usr/bin/python3

str = "this is a string example....really!!!"
print ("Max character: " + max(str))

str = "this is a string example....wow!!!"
print ("Max character: " + max(str))

打开资源 ↗

交流与评论