# test 1
grid=[["p","x","m"],["a","$","$"],["k","i","t"],]directions=["leftT","downT","rightT","rightT"]getPassword(grid,directions)# pa$$
# test 2
grid=[["a","x","c"],["g","l","t"],["o","v","e"]]directions=["downT","down","leftT","rightT","rightT","upT"]getPassword(grid,directions)# lovet
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
python