ShriRam Changed status to publish August 21, 2023
C =[‘a’,’b’,’c’,’d’,’e’,’f’,’g’,’h’,’i’,’j’,’k’,’l’,’m’,’n’]
def list_slice(s,step):
return [s[i::step]for i in range(step)]
print(list_slice(C,3))
ShriRam Changed status to publish August 21, 2023