看板 Python 關於我們 聯絡資訊
https://zerojudge.tw/ShowProblem?problemid=c461 此為原題 本人初學 輸入三個常數 一開始就卡住了 x= int(input()) y= int(input()) z= int(input()) 請問要怎麼用 input 輸入時 不會換行? 用 end=""嗎? 不知要加在哪裡 如範例中的 0 0 1 等 而不是 0 0 1 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 203.203.74.58 ※ 文章網址: https://www.ptt.cc/bbs/Python/M.1536573239.A.5EB.html ※ 編輯: tyjh (203.203.74.58), 09/10/2018 17:55:12
hwChang: 僅 input 一次, 用空格切開 09/10 18:07
thefattiger: 題目是網站裡面的哪一題? 09/10 18:07
oToToT: x, y, z = map(int, input().split()) 09/10 19:26
※ 編輯: tyjh (203.203.74.58), 09/10/2018 19:43:09
tyjh: 貼錯網址 是邏輯運算子那題 09/10 19:43
renshin: 三樓正解 09/11 09:52