How do i make Python count how many letters are in a word? -


i have lab programming class , need know how make python count how many letters in word excluding spaces. can me out? have far.

def na():     name = raw_input("what name? : ")     count [char] na() 

sum(c.isalpha() c in name) 

Comments

Popular posts from this blog

java - JavaFX 2 slider labelFormatter not being used -

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -