while( scanf("%s",&s)!=EOF ) { //do something } How can this be done in python .? I have searched the web but I did not find any satisfactory answer.
確定! 回上一頁