Hello there and welcome to 'Learning Python with me'! Today I am going to show you how to create a text analyzer. As I am a little bit sick, I won't be doing a voiceover today, but I will explain step-by-step the workflow I used for this project: - Lists & .append(): I created an empty letters list and used the .append() method to save the three specific letters the user wants to search for. - The .count() method: I applied this directly to the text to easily calculate exactly how many times those saved letters appear. - .split() & len(): I used .split() to break the user's text into separate words, and len() to find out the total word count. - The print() function: Finally, I used print() along with f-strings to display the final analysis, formatting the output clearly so the user can easily read their results. Below you will find a video testing it with a simple phrase. Hope you enjoy it! #Python #PythonProject #Datascience #Sideproject #fyp #programming

To view or add a comment, sign in

Explore content categories