#20508: python求救


iamgond (gond)


m,d=map(int,input().split('/'))

請問這行那裡錯了

#20513: Re:python求救


iamgond (gond)


 

抱歉,我找到答案了,應該是我打
while 1:
造成無限迴圈,請問這題該怎麼停止




#22803: Re:python求救


fire5386 (becaidorz)


 

抱歉,我找到答案了,應該是我打
while 1:
造成無限迴圈,請問這題該怎麼停止





讀到EOF結束

#23261: Re:python求救


goozak123@gmail.com (李艾登)


 

抱歉,我找到答案了,應該是我打
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

 

#26867: Re:python求救


406490150@gms.tku.edu.tw (我是朱朱)


 

抱歉,我找到答案了,應該是我打
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 (x=1) ???????????????????????????????

x==1  !!!!

 

 

while True:

  try:

    input()

  except EOFError:

    break

 

from sys import stdin

for line in stdin:

  month, day = input().split('/')

 

: )