Give it a tryΒΆ

This page assumes that you have already installed clashgap

Open a compatible Python shell and follow along

>>> import clashgap as cg

>>> cg.gap(["spam", "ham"])
[['sp', 'h'], 'am']

>>> cg.fill([['sp', 'h'], 'am'])
["spam", "ham"]

You have successfully demonstrated the usage of the gap and fill functions, which are the most fundamental function in the clashgap module. Also chack out other features in the module like the Clash class.