Please check your code again. You have an extra space after line.startswith
I think, the closing brackets of rstrip is not there.
It should have been line.rstrip() but it is "line.rstrip("
1 Like
Please check your code again. You have an extra space after line.startswith
I think, the closing brackets of rstrip is not there.
It should have been line.rstrip() but it is "line.rstrip("