On Mon, Oct 6, 2008 at 9:48 PM, WM <[EMAIL PROTECTED]> wrote:
> TO THIS ORIGINAL POST I GOT SIX REPLIES.
> IS THIS THE WAY TO ANSWER? OR SHOULD I DO INDIVIDUAL REPLIES?
Either way is OK. It helps to quote a bit of the post to which you are
replying, for context. And please don't use all caps, it
TO THIS ORIGINAL POST I GOT SIX REPLIES.
WM wrote:
> > I used to do Basic and enjoyed it. Someone said Python was a vastly
> > better language than Visual Basic, which I considered playing with. So
> > I sought to give it a go but struck a sticking point very early.
> > I am now going through t
On Mon, Oct 6, 2008 at 7:24 AM, Rajeev Nair <[EMAIL PROTECTED]> wrote:
> also i believe the first line can also be written as 'x = input('enter
> ...') instead of using x=int(raw_input('..') . use raw_input for
> string and just input for integer.
Yes, although that is not really recommend
"Rajeev Nair" <[EMAIL PROTECTED]> wrote
also i believe the first line can also be written as 'x =
input('enter
...') instead of using x=int(raw_input('..') . use raw_input
for
string and just input for integer.
No, use input() only in very special circumstances or when
experimenting
" where A$ was a
> > variable
> > and 36 was the ASCII value for 'A'. I believe the reverse of this
> > process
> > was PRINT VAL(A$) or something. I want to play with a program
> > that will
> >assign a number to a word (using a simp
On Sun, Oct 5, 2008 at 10:51 PM, WM <[EMAIL PROTECTED]> wrote:
> I used to do Basic and enjoyed it. Someone said Python was a vastly better
> language than Visual Basic, which I considered playing with. So I sought to
> give it a go but struck a sticking point very early.
> I am now going through
"WM" <[EMAIL PROTECTED]> wrote
to IF. The code below was not written by me. It is a copy/paste
job from the tutor. I do not have any idea what is going wrong.
>>> x = int(raw_input("Please enter an integer: "))
Please enter an integer: 42
>>> if x < 0:
... x = 0
... print 'Negati
I used to do Basic and enjoyed it. Someone said Python was a vastly
better language than Visual Basic, which I considered playing with. So
I sought to give it a go but struck a sticking point very early.
I am now going through the Python tutorial. All went well until I came
to IF. The code b