print string+ in for loop

Kevin Kohiruimaki kevin at no.mail.com
Sun May 12 09:52:16 EDT 2002


Hi,

I can do:

word = "horse"

for c in word:
  print c,

But I can not do:

for c in word:
  print c+

What is the reason for not implementing it in the language? Thanks for
answering.

--KK



More information about the Python-list mailing list