Skip to content

manfrina87/WordLab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Anagrams

Purpose: find which word is an anagram of another word

Input: list of words

Hello World

from anagrams import anagrammer

words=['python', 'tyhphon', 'typhon']
anagrammer(words)
[('NOT an ANAGRAM', 'python', 'tyhphon'),
 ('ANAGRAM found', 'python', 'typhon'),
 ('NOT an ANAGRAM', 'tyhphon', 'typhon')]

Palyndromes

Purpose: find if a word is palyndrome

Input: Word as a string

from palindromes import palyndromer

pword='satorarepotenetoperarotas'
palyndromer(pword)
'Char IS palindrome'

About

Anagrams, Palindromes and other word puzzles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors