Hello!

Try to write som code that will get an input string from the user. Futher 
more, I'd like to have the program to count all the word the user has 
written.

Startet out like this:

/-------------
s = raw_input("Write a text line")
print s.split()
/----------------

How can I count the words in the split function. Do I have to use the split 
function to count the words in the S variable?

Regards
Frengky

-- 
Organisation nr: 983063349
Frengky, Olsokveien 65,1727 Sarpsborg, Norway
Tel: +47 92611725
Fax: +47 69152017
Email: [EMAIL PROTECTED]
Web: www.frengky.no


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to