#输出并首字母大写 bicycles = ['trek','cannondale','redline','specialized'] print(bicycles[0].title())
输出为:
Trek