The symbol for kilo- is a lowercase 'k'. See: https://en.wikipedia.org/wiki/Kilo-
Parted should certainly handle a lowercase 'k' in input, and should
output lowercase 'k's when it means kilobytes or kibibytes. If you want
to make it handle user input with an uppercase k as well, that's an extra
credit option...
John
