#comments

Ken Parkes cbuffer at NOSPAMrosecott.ukfsn.org
Mon Sep 13 23:27:32 CEST 2004


Hi,
	New to this game.  Have tried the following.

  data=raw_input("Type something  ") # spaces after "something"
  myInput=data
  print "You typed " myInput  # and again
  print "The fourth character is "myInput[3]  # and again

When I run it in the shell I get error warnings for the second comment
( actually pointing to the t of myInput )  If I remove the comment I get
one for the third comment.  What is wrong please?

Ken.




More information about the Python-list mailing list