Okay, so what I want to do, is to take the following code, and make it so that way it keeps continuning for all of the word.
keycode = raw_input()
matrix = [0, 0, 0, 0]
for x in range(0, len(keycode)):
y = ord(keycode[x])
if x > 3 and x <= 7:
x = x -4
if x > 7 and x <= 11:
x = x -8
if x > 11 and x <= 15:
x = x -12
if x > 15 and x <= 19:
x = x -16
matrix[x] = matrix[x] + y
The part I want to continue is the if statements... I'm thinking maybe using the len(keycode) somehow, but I'm a bit confused on where to go from here. Any help would be appreciated.