Reputation: 27
I have a list of lists, similar to what is below, I need to replace each {"S","D","U"} list in the overall list with a number.. Thanks in advance!
A = {{"S", "D", "U"}, {"S", "D", "U"}, {"S", "D", "U"}, {"S", "D",
"U"}, {"S", "D", "U"}, {"S", "D", "U"}, 1, {"S", "D", "U"}, {"S",
"D", "U"}, {"S", "D", "U"}, {"S", "D", "U"}, {"S", "D", "U"}, {"S",
"D", "U"}, {"S", "D", "U"}, {"S", "D", "U"}, {"S", "D", "U"}, {"S",
"D", "U"}, 1, {"S", "D", "U"}}
Upvotes: 1
Views: 247