Skip to content

Commit

Permalink
Merge pull request #123 from Kanwar245/patch-1
Browse files Browse the repository at this point in the history
Update ChapQ1.5.py
  • Loading branch information
gaylemcd committed Sep 18, 2015
2 parents f345d43 + 3dc7557 commit 4fdf79e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/Chapter 1/Question1_5/ChapQ1.5.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ def compress(string):
if len(result) < len(string):
return result
else:
retunr string
return string

print compress("aabccc ccaaa")

0 comments on commit 4fdf79e

Please sign in to comment.