1.python輸入

Python3 input() 函數: Python3.x 中 input() 函數接受一個標準輸入數據,返回爲 string 類型。 注:在 Python3.x 中 raw_input() 和 input() 進行了整合,去除了 raw_input( ),僅保留了input( )函數,其接收任意任性輸入,將全部輸入默認爲字符串處理,並返回字符串類型。 連接: link. sys.stdin.re
相關文章
相關標籤/搜索