[Rosalee]
>>> I want to save this file, import it and make the changes, eggs =
>>> toast, . spam = jelly and change the values if needed.
[Danny]
>> It sounds like you're still stuck trying to input programs into Python.
>> Are you using a "programming text editor"? If not, then you may want
>>
>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,',
There are
On Wed, 28 Sep 2005, Rosalee Dubberly wrote:
> 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,',
>
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
_