抱歉,我找到答案了,應該是我打
while 1:造成無限迴圈,請問這題該怎麼停止
讀到EOF結束
beacuse you did not define what you wanted to do in this while loop so it just kept on looping so you maybe should do something like this
x = 1
while(x=1):
do somthing
so it whould only do that thing while the variable x = 1
抱歉,我找到答案了,應該是我打
while 1:造成無限迴圈,請問這題該怎麼停止
讀到EOF結束
beacuse you did not define what you wanted to do in this while loop so it just kept on looping so you maybe should do something like thisx = 1
while(x=1):
do somthing
so it whould only do that thing while the variable x = 1
????????????????????????????????????
while (x=1) ???????????????????????????????
x==1 !!!!
while True:
try:
input()
except EOFError:
break
from sys import stdin
for line in stdin:
month, day = input().split('/')
: )