Lesson 1 Funny Python Acronym Creator

Published: 17 May 2021
on channel: CodingScientist
140
1

An acronym is a short form of a word created by long words or phrases such as NLP for natural language processing. In this project, I will walk you through how to write a program to create acronyms using Python.
To create acronyms using Python, you need to write a python program that generates a short form of a word from a given sentence. You can do this by splitting and indexing to get the first word and then combine it. Let’s see how to create an acronym using Python
In this code, I am first taking a string user input, then I am using the split() function in Python for splitting the sentence. Then I declared a new variable ‘a’ to store the acronym of a phrase.
Then at the end, I am running a for loop over the variable ‘text’ which represents the split of user input. While running the for loop we are storing the index value of str[0] of every word after a split and turning it into an uppercase format by using the upper() function.

Python Source Codes : https://github.com/AnbuKumar-maker/Fu...
Contact us for more projects: info@codingscientist.com
WhatsApp Support: +91-99725-77735
Learning Platform: https://www.codingscientist.com
Hackster Community: https://www.hackster.io/anbu-kumar
LinkedIn:   / codingscientist  
Facebook:   / coding.scientist  
Twitter:   / robo_thoughts  


On this page of the site you can watch the video online Lesson 1 Funny Python Acronym Creator with a duration of hours minute second in good quality, which was uploaded by the user CodingScientist 17 May 2021, share the link with friends and acquaintances, this video has already been watched 140 times on youtube and it was liked by 1 viewers. Enjoy your viewing!