ᅠ
Python3
Source:
s = "text"
n = 10
l = list(s.ljust(n, '0'))
print(l)
Result:
['t', 'e', 'x', 't', '0', '0', '0', '0', '0', '0']
Size: a a a
ᅠ
Python3
s = "text"
n = 10
l = list(s.ljust(n, '0'))
print(l)
['t', 'e', 'x', 't', '0', '0', '0', '0', '0', '0']
БГ
E
R3
e
AT
БГ
БГ
БГ
БГ
AT
БГ
AT
БГ
БГ
AT
БГ
W
КП
W