- str_pad => rjust, * multiply
- datai => data[i:i+1]