者tyjh (....)
看板Python
标题[问题] 求问一题
时间Mon Sep 10 17:53:57 2018
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://webptt.com/cn.aspx?n=bbs/Python/M.1536573239.A.5EB.html
※ 编辑: tyjh (203.203.74.58), 09/10/2018 17:55:12
1F:推 hwChang: 仅 input 一次, 用空格切开 09/10 18:07
2F:→ thefattiger: 题目是网站里面的哪一题? 09/10 18:07
3F:推 oToToT: x, y, z = map(int, input().split()) 09/10 19:26
※ 编辑: tyjh (203.203.74.58), 09/10/2018 19:43:09
4F:→ tyjh: 贴错网址 是逻辑运算子那题 09/10 19:43
5F:→ renshin: 三楼正解 09/11 09:52