From 77cd633b290878ce50794e170500defb1ae5f33f Mon Sep 17 00:00:00 2001 From: Thomas Skaflem Date: Sat, 25 Feb 2017 15:17:16 +0100 Subject: [PATCH] Updates README.md with example of the new `is_iterable()` and `substr()` functions --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 465210f..6c0c9b4 100644 --- a/README.md +++ b/README.md @@ -61,4 +61,10 @@ Install via pip >>> print(common_sub("Python is named after Monty Python", "What is Python Used For ?", sequence="shortest")) is >>> print(common_sub("Python is named after Monty Python", "What is Python Used For ?", sequence="longest")) - Python \ No newline at end of file + Python + >>> print(is_iterable(["foo", "bar"])) + True + >>> print(is_iterable(1234)) + False + >>> substr("asdfg", 1, 2) + "sdf" \ No newline at end of file