- 1

What wrong

lines=file.readlines() for i in lines: lines = i.replace("\n","") print (lines[0] + len((str(lines))

25th Mar 2022, 6:51 AM
Musab Adam
Musab Adam - avatar
4 Antworten
+ 1
print(lines[0] + str(len(lines)))
25th Mar 2022, 9:15 AM
Simba
Simba - avatar
0
Still saying wrong syntax
26th Mar 2022, 2:06 PM
Musab Adam
Musab Adam - avatar
0
File.close
15th Aug 2022, 10:41 AM
Dlyan
0
Print(lines[0] + str(len(lines) ^ You have a space here
15th Aug 2022, 10:43 AM
Dlyan