Larry Bates lbates at swamisoft.com
Mon Sep 13 23:47:27 CEST 2004

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

print "You typed", myInput # and again


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

Larry Bates
Syscon, Inc.

"Ken Parkes" <cbuffer at NOSPAMrosecott.ukfsn.org> wrote in message
news:pan.2004. 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