האם זה בגלל שמשהו לא נכון בתוכנה, או שככה הפלט יוצא בפייטון?
לדוגמא:
.
.
for line in file_in:
print(line)
חלק מהפלט שיתקבל:
"TOM!"
No answer.
"What's gone with that boy, I wonder? You TOM!"
No answer.
The old lady pulled her spectacles down and looked over them about the
room; then she put them up and looked out under them. She seldom or
אם אגיד לו להדפיס מספרים אגב, לא תהייה את הבעיה הזאת:
.
.
for line in file_in:
#print(line)
temp = line.split()
#print (temp)
x = len(temp)
print (x)
הפלט:
5
0
2
0
2
0
1
0
2
0
1
0
2
0