cyclik_ascii_lvl2

def cyclik_ascii_lvl2(current)

Algorithm

Compute a cyclik ascii separators into ponctuation signs. Get a second cyclic ascii set modulo length

Parameters

Type

Description

current

str

The current poncuation separator

Returns

str : The following separator from the defined ‘sep’ Set.


Source Code

sep=[":",";","<","=",">","?","@"]
tmp=((sep.index(current)+1)%6)
res =sep[tmp]
return res