input() 函數從標準輸入讀入一行文本,默認的標準輸入是鍵盤。函數
input 能夠接收一個Python表達式做爲輸入,並將運算結果返回。.net
format()輸出code
摘自:https://my.oschina.net/codepencil/blog/1930071orm