11 Reputation Points
Ranked #2K
- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
100% Quality Score
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re:
The readlines() method for file objects return the lines as a list (or is it a tuple?) however each element contains the \n character which prevents the element from being used in another function. How do I remove the \n character from the elements? I have made some code which … |