loader
pttman

pttman Muster

屬於你的大爆卦
pttman

pttman Muster

屬於你的大爆卦
pttman

pttman Muster

屬於你的大爆卦
  • Ptt 大爆卦
  • Python map split
  • 離開本站
你即將離開本站

並前往https://zerojudge.tw/ShowThread?postid=11578&reply=0

關於這題如何用python一次讀取兩個數字 - 高中生程式解題系統

a,b=map(int,line.split()) #將輸入的字串以" "(空白鍵)為分隔切成兩個字串再將這兩個字串作型態轉換,轉成int再分別儲存至a,b中 c=a+b; print(c).

確定! 回上一頁

查詢 「Python map split」的人也找了:

  1. Python map
  2. python map輸入
  3. python map用法
  4. python input split用法
  5. Python map(lambda)
  6. Python 輸入 n 個數字
  7. Python split
  8. python輸入多個數字

關於我們

pttman

pttman Muster

屬於你的大爆卦

聯終我們

聯盟網站

熱搜事件簿