I am going to 'play' with this in IDLE. I have used your tutorial posted on
the Net. Good stuff!!
Thanks for breaking this down into different examples.
You are a great instructor.
From: Danny Yoo <[EMAIL PROTECTED]>
To: Tutor
CC: [EMAIL PROTECTED]
Subject: Re: [Tutor] still not getting 'it'
I am having problems with changing the parameters in my second function. I
want the second function to run the same as the first, but take different
parameters. What am I doing wrong
def firstpart():
"""Define a function that takes no parameters and does the following:
Returns (not
I want to save this file, import it and make the changes, eggs = toast, spam
= jelly and change the values if needed.
def firstpart():
for n in range(0, 55):
if n % 3 == 0 or n % 7 == 0 or n % 11 == 0:
print 'eggs,',
else:
print 'spam,',
Rosa Dubberly
_
I am trying to learn Python to use in my lesson plans. I am using Windows XP
and the textbooks I am using are Beginning Python by WROX and Learning
Pyhton by O'Reilly.
I am definning a range of words 0 to 55, if the number is divisible by
3,7,11 with no remainder print eggs, else print spam. T