Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: beginner help in python
Post: RE: beginner help in python

(Dec-13-2020, 04:57 PM)bowlofred Wrote: You'll need to show the code. When I change the code to have the line above, it doesn't do that. Show what you're running now. It's working now, i don't know...
aghapouria General Coding Help 7 2,828 Dec-13-2020, 09:11 PM
    Thread: beginner help in python
Post: RE: beginner help in python

(Dec-13-2020, 07:08 AM)bowlofred Wrote: And for your original code: * You're comparing line.isspace, not line.isspace() * line.isspace() is only true if the entire line is spaces. * You're updating...
aghapouria General Coding Help 7 2,828 Dec-13-2020, 03:26 PM
    Thread: beginner help in python
Post: RE: beginner help in python

(Dec-13-2020, 07:22 AM)ndc85430 Wrote: Why do you need to write your own function to do this, when there's a perfectly good one in the standard library: str.splitlines? Good exercise in using while ...
aghapouria General Coding Help 7 2,828 Dec-13-2020, 03:22 PM
    Thread: beginner help in python
Post: beginner help in python

Hi I am trying to learn python and I am working with some problems in the book, I am trying to construct a function that reads the lines of a string input and prints out the words. I wish to remove t...
aghapouria General Coding Help 7 2,828 Dec-12-2020, 11:18 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020