Ok well I've hit a snag... i'm trying to write a program that makes Acronyms from user input... I can get all the letters capitalize, but the problem i am having is, well, taking the first letter from each and puting them together to make an acronym!!!!!
c_shaft05 0 Junior Poster in Training
Recommended Answers
Jump to Postdo acronyms even have periods in them?
Most of the time they don't! Here is just one more way to do it ...
str1 = "senior health inFormation development" # just in case it isn't all lower case str2 = str1.lower() # make a title-cased copy str3 …
Jump to PostGreat list comprehension example, mawe!
We just talked about list comprehension in a previous thread here, so I hope you don't mind, if I pick this apart for the beginning Pythonians amongst us.# using list comprehension (mawe) str1 = "senior health inFormation development" acronym1 = '.'.join([word[0].upper() …
All 6 Replies
shanenin 0 Posting Whiz in Training
shanenin 0 Posting Whiz in Training
shanenin 0 Posting Whiz in Training
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
mawe 6 Junior Poster
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.