Python mengonversi string menjadi potongan
s = '1234567890'
o = []
while s:
o.append(s[:2])
s = s[2:]
Elated Echidna
s = '1234567890'
o = []
while s:
o.append(s[:2])
s = s[2:]