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 - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -