Python3 max()方法
Python 3 教程
· 2019-02-06 06:58:54
描述
max() 方法返回字符串中最大的字母。
语法
max()方法语法:
max(str)
参数
- str -- 字符串。
返回值
返回字符串中最大的字母。
实例
以下实例展示了max()函数的使用方法:
#!/usr/bin/python3
str = "codercto"
print ("最大字符: " + max(str))
以上实例输出结果如下:
最大字符: u
点击查看所有 Python 3 教程 文章: https://www.codercto.com/courses/l/10.html
Web Standards Creativity
Andy Budd、Dan Rubin、Jeff Croft、Cameron Adams、Ethan Marcotte、Andy Clarke、Ian Lloyd、Mark Boulton、Rob Weychert、Simon Collison、Derek Featherstone / friends of ED / March 19, 2007 / $49.99
Book Description * Be inspired by 10 web design lessons from 10 of the world's best web designers * Get creative with cutting-edge XHTML, CSS, and DOM scripting techniques * Learn breathtakin......一起来看看 《Web Standards Creativity》 这本书的介绍吧!