- くだすれPython(超初心者用) その29©2ch.net
145 :デフォルトの名無しさん[sage]:2016/03/16(水) 22:05:58.14 ID:/j2iEmJk - >>143
適当に書いているのでバグってたらごめん。 import sys f = False lst = [] for line in sys.stdin: __stripped = line.strip() __if f: lst.append(stripped) __if not stripped: f = True print(*lst)
|
|