The problem from Internet: The Pluralize Problem | Python Simple Practice Problem | the code panda

Опубликовано: 09 Октябрь 2024
на канале: the code panda
111
2

Hello guys, welcome again. Today we are going to solve a simple problem from the internet "Pluralize!" problem.

You can find the problem by the link below: -
https://edabit.com/challenge/LR98GCwL...

In this problem:
We have to add 's' character at end of the string if it appears more than 1 time.
Given a list of words in the singular form, return a set of those words in the plural form if they appear more than once in the list.

Notes:
-- This is an oversimplification of the English language so no edge cases will appear.
-- Only focus on whether or not to add an s to the ends of words.
-- All tests will be valid.

Used Library and Topics:
Library - None
Topics: List, Loops, and Strings

Chapters By timestamp:
00:00​​​​ - 00:21 - Introduction of video
00:21 - 01:35 - Introduction Of Problem
01:35​​ - 02:20​​​ - Taking input from the user as a list
02:20​​ - 03:08​​​ - Finding unique words from the list using the set datatype
03:08​​ - 04:42​​​ - Running a Loop and Checking which words occur more than 1 time.
04:42 - 05:31 - Now if the condition is True then add in a new list after adding 's' in string
05:31 - 08:24 - Testing program and corrections

BE MY FRIEND:
🌍Check my website: https://thecodepanda.in/​​​​
📸Add me on Instagram:   / thecodepanda.in  
📕Add me on Facebook:   / thecodepanda.in  

ABOUT MY CHANNEL:
Hi! I’m The Code Panda. On my channel, you will find Programming videos. We love sharing Python, Java, C, C++ Tutorials & programs with you guys as we experience them ourselves.

Watch Complete Python Series :
   • Introduction To Python : What's insid...  

Watch Complete Playlist :
   • Python Daily Programs  

Subscribe here to see more of my videos in your feed!
   / @thecodepanda  

Feel free to add me on Instagram/Facebook/Reddit/Vk: thecodepanda.in

#dailyprogrammingproblem #pythonpracticeprograms #practicepythondaily
#programming problems in Python, #dynamic programming problems in python, #linear programming problems in python, #simple programming problems in python, #solving linear programming problems in python, #programming problems and solutions in python, #programming questions in python for beginners, #programming problems for beginners python, #how to start programming in python for beginners, #how to code in python beginners, #how to program python for beginners, #programming problems in python, #programming challenges in python, #programming practice in python, #python programming problems and solutions, #python programming problems and solutions pdf, #programming questions in python for an interview, #programming problems for python, #coding problems for python, #programming challenges python GCSE, #what are the interview questions for python, #can I use python for a coding interview, #how to learn python for an interview, #how to prepare for a python coding interview, #python programming problems pdf, #problem solving python programming, #python programming problems with solutions, #programming questions on python, #coding problems on python