No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Retired programmer, background in FORTRAN, C, C++, ksh &c, Perl
- Interests
- programming, algorithms,
- PC Specs
- Toshiba / Win 7 Home Premium
4 Posted Topics
This is Python 3.4.2 The documentation says that s2 = s1.strip('a') will strip out all the 'a' in s1. When I run it, only the leftmost character - and only if it is 'a' - is stripped. The default s2 = s1.strip() takes out all whitespace. PS: I understand that … | |
Re: Perhaps you're looking into the history of programming languages? I found references to Quick Basic doing a web search. Perhaps that would be a good place to start. | |
Re: Each function changes the string 'letters1' in place. You'll need to save the results of each function so that the next call gets the original string. | |
I'm new to Python, but have a long background in Perl, Ksh &c, C, and others. """One of the different things about Python is the import statement. How do you tell where a function or class name should be imported from? Some are obvious, like sys and math, but others … |
The End.