Is there a fuction that make x equal to the amount of letters in hello?
(10-11-2009, 12:04 PM)nevets04 Wrote: [ -> ]Is there a fuction that make x equal to the amount of letters in hello?
Do you mean something like x = len('hello')
yea it's would be done like this.
Quote: x = raw_input ("Enter your word or string")
print len(x)