#comments

Larry Bates lbates at swamisoft.com
Mon Sep 13 17:47:27 EDT 2004


Not a comment problem. You need commas after
literals in the print statements

print "You typed", myInput # and again

or

print "You typed %s" % myInput # and again

Larry Bates
Syscon, Inc.


"Ken Parkes" <cbuffer at NOSPAMrosecott.ukfsn.org> wrote in message
news:pan.2004.09.13.21.36.41.766093 at NOSPAMrosecott.ukfsn.org...
>
> Oh lord, start again:-
>
> data=raw_input("Type something  ") # spacer after "something"
> myInput=data
> print "You typed " myInput  # and again
> print "The fourth character is "myInput[3]  # and again
>
>





More information about the Python-list mailing list