#24341: 給想練習python sys的朋友們


ck1080477@gl.ck.tp.edu.tw (エレクトロマスター)

學校 : 臺北市立建國高級中學
編號 : 143226
來源 : [1.163.80.87]
最後登入時間 :
2022-04-23 14:06:56
a001. 哈囉 -- Brian Kernighan | From: [219.85.182.92] | 發表日期 : 2021-02-07 19:46

用標準輸入sys.stdin中的readline(),再使用strip()去掉句末的\n跳脫序列

最後是標準輸出sys.stdout5中的write(),記得空格得自己加上,連結符是'+'而非print的','

 
#24532: Re:給想練習python sys的朋友們


asnewchien@gmail.com (david)

學校 : 不指定學校
編號 : 68108
來源 : [1.168.27.116]
最後登入時間 :
2024-03-31 17:58:15
a001. 哈囉 -- Brian Kernighan | From: [36.233.32.214] | 發表日期 : 2021-03-02 17:29

https://www.youtube.com/watch?v=8U1N8vqFWYE

 
ZeroJudge Forum