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