2
end = False
numbers = []
while not end:
i =(raw_input(" Enter the number(0 to end the input)"))
if i ==0:
end = True
else:
numbers.append(i)
print numbers
リストは、ユーザによる入力が入力された場合でも、終了していないユーザーによって入力された場合でも、印刷は、あなたの文字列として代わりに番号を取得0一覧</p> <p>0 ..を