I am using python 3.5. I am trying to define an array with set of characters. I tried the below.
import array
my_char_array = array.array('c', ['g','e','e','k'])
When I run, I get the following error:
ValueError: bad typecode (must be b, B, u, h, H, i, I, l, L, q, Q, f or d)
Isn't 'c' a valid typecode for characters? Please enlighten me.