Python-World / Python_and_the_Web

Build Bots, Scrape a website or use an API to solve a problem.
MIT License
684 stars 262 forks source link

Remove repeated words from wordlist #647

Closed ShivangiPatel102 closed 2 years ago

ShivangiPatel102 commented 2 years ago

DESCRIPTION

Added a new program which removes repeated words from wordlist and creates a new file (overwrites) with non-repeated words.

Fixes #(475) (Issue from python-mini-projects)

Type of change

Choosing one or more options from the following as per the nature of your Pull request.

Checklist:

Please tick all the boxes that are fulfilled by your Pull Request.

PREREQUISITES

(No module(s) required to run the script)

HOW TO RUN THE SCRIPT

Input the words of your wordlist. Words should be separated by single space. By running the code a new file named nonRepeatedWords.txt will be created. (Refer screenshots attached for further understanding)

SCREENSHOT

Input: (wordlist) WhatsApp Image 2021-11-09 at 1 10 21 AM

Output file: (file with non repeating words) WhatsApp Image 2021-11-09 at 1 10 58 AM

AUTHOR NAME

Shivangi Patel

github-actions[bot] commented 2 years ago

Python World does not accept pull requests on this repository anymore.