## rotate_suits: (listof (listof int str)) -> None ## Changes the suit of each card in a list of cards to be the suit of the ## following card. def rotate_suits(hand): values = map(lambda x: x[0], hand) suits = map(lambda x: x[1], hand) hand = zip(values, suits.append(hand[0][1])[1:]) L = [[9,"spades" ],[7,"clubs"],[9,"clubs"]]