wrobl...@cmich.edu wrote:
Thank you for the reply.. I tried putting the print repr(n)
before I defined 'n' with raw_input. My script looks like
this--
def divisible(n):
if n%3 == 0:
print n, "is divisible by 3"
else:
print n, "is not divisible by 3"
n= raw_input("enter
You sent the mail to me privately (off-list). That's not how mailing
lists work.
wrobl...@cmich.edu wrote:
Thank you for the reply.. I tried putting the print repr(n)
before I defined 'n' with raw_input. My script looks like
this--
def divisible(n):
if n%3 == 0:
print n, "is di
You top-posted, and sent the mail to me privately (off-list). That's
not how mailing lists work.
wrobl...@cmich.edu wrote:
Thank you for the reply.. I tried putting the print repr(n)
before I defined 'n' with raw_input. My script looks like
this--
def divisible(n):
if n%3 == 0:
wrobl...@cmich.edu wrote:
I'm trying to make a very simple example to show alternate execution... if a
number is divisible by 3 it will say so and if it isnt, it will say so. Heres my
program
n= raw_input("enter a number= ")
def divisible(n):
if n%3 == 0:
print n, "is divisibl
On Tue, Sep 29, 2009 at 10:59 AM, wrote:
> I'm trying to make a very simple example to show alternate execution... if
> a
> number is divisible by 3 it will say so and if it isnt, it will say so.
> Heres my
> program
>
> n= raw_input("enter a number= ")
> def divisible(n):
>if n%3 == 0:
>