On Thu, Dec 20, 2018 at 10:47:44PM +0100, Aine Gormley wrote:
> Hello, could somebody take a quick look at my code? I am unsure why I am
> getting a loop error?
That's hard to do if you don't show us the code :-)
Please COPY AND PASTE (don't try to retype it from memory) the MINIMUM
amount of c
Greetings Aine!
On Thu, Dec 20, 2018 at 6:57 PM Aine Gormley wrote:
>
> Hello, could somebody take a quick look at my code? I am unsure why I am
> getting a loop error?
This is a plain text only list that does not (typically) allow file
attachments. So I do not see any code. So if you wish for
Hello, could somebody take a quick look at my code? I am unsure why I am
getting a loop error?
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
On Thu, Dec 20, 2018 at 10:49:25AM -0500, Mary Sauerland wrote:
> I want to get rid of words that are less than three characters
> f1_name = "/Users/marysauerland/Documents/file1.txt"
> #the opinions
> f2_name = "/Users/marysauerland/Documents/file2.txt"
> #the constitution
Better than comments
Mary,
Mary,
It is often best to develop and test small parts of the project where you
can easily play with it, then move it into more complex configurations like
a function body
Here is your code:
def read_words(words_file):
return [word.upper() for line in open(words_file, 'r') for word in
On 12/20/18 8:49 AM, Mary Sauerland wrote:
> Hi,
>
> I want to get rid of words that are less than three characters but I keep
> getting errors. I tried multiple ways but keep getting errors.
Just a quick note or two:
>
> Here is my code:
>
> f1_name = "/Users/marysauerland/Documents/file1.t
On Dec 20, 2018 12:17 PM, "Mary Sauerland" wrote:
>
> Hi,
>
> I want to get rid of words that are less than three characters but I keep
getting errors. I tried multiple ways but keep getting errors.
Hi Mary welcome to the tutor list. We love to help. We are a few
volunteers. It is very difficult
Hi,
I want to get rid of words that are less than three characters but I keep
getting errors. I tried multiple ways but keep getting errors.
Here is my code:
f1_name = "/Users/marysauerland/Documents/file1.txt"
#the opinions
f2_name = "/Users/marysauerland/Documents/file2.txt"
#the constituti