strings.wave

Functions

wave(→ list)

Returns a so called 'wave' of a given string

Module Contents

strings.wave.wave(txt: str) list

Returns a so called ‘wave’ of a given string >>> wave(‘cat’) [‘Cat’, ‘cAt’, ‘caT’] >>> wave(‘one’) [‘One’, ‘oNe’, ‘onE’] >>> wave(‘book’) [‘Book’, ‘bOok’, ‘boOk’, ‘booK’]