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!!!!!
Jump to Post
you could use the split method
>>> "the dog is going home".split() ['the', 'dog', 'is', 'going', 'home']
I hope I did not ruin your fun , but here is the code I would use
userinput = raw_input('> ') split_input = userinput.split() x = "" …
All 6 Replies
We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.