4.2.1 .format 方法. 字串也能夠進行格式化,只要使用format() 方法:. oneal = "Shaquille O'neal" "{} is one of the greatest center in NBA history.".format(oneal).
確定! 回上一頁