Python學習筆記3_經常使用內置函數與運算符

一. 經常使用內置函數python 1.輸入輸出函數:input與print函數app 輸入函數:x=input('提示:')函數 這個不用像C語言同樣,想寫一下提示語句還要printf一行再scanf一行,一個input函數就能夠解決測試 age=input('please input:') print age運行結果: please input:18 18 code 輸出:print函數內存
相關文章
相關標籤/搜索