# ----
# 1. You are given a 4x7 grid of letters (A to Z) in sorted order. Given an input string,
# write a function to traverse the grid and print directions to each letter. For example,
# to spell "CAT", the method would output: [2right, 2left,4down3right].
# ==>"CAAT"
#
#
#   0 1 2 3
# 0 a b c d
# 1 e f g h
# 2 i j k l
# 3 m n o p
# 4 q r s t
# 5 u v w x
# 6 y z
#
# output:
# 2right
# 2left
# 4down3right
# 3right4down
def getPosition(ch):
    return [row , col]

def getDirection():

for ch in Str:
    [currentRow, currentColumn] = getPos[ch]
