Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 466 Bytes

README.md

File metadata and controls

23 lines (14 loc) · 466 Bytes

#Code Challenge: Input: a text string containing English words, whitespace (spaces and new lines) and punctuation like commas, periods, question marks and semi-colons.

Output:

Print a list of triplets. Each triplet is a pair of words and a count

For example the output for the sample input:

Are you: 2

Installation:

Get yourself a virtualenv
pip install -r requirements.txt
python triple.py "Your string"

Dependencies:

Python 3