old_contents: import sys
  sys.stdout = sys.stderr
  
  print "PYTHON VERSION", sys.version
  
  class Player:
      VERSION = "Default Python folding player"
  
      def betRequest(self, game_state):
          in_action = game_state["in_action"]
          current_buy_in = game_state["current_buy_in"]
          pot = game_state["pot"]
          minimum_raise = game_state["minimum_raise"]
          players = game_state["players"]
          our_player = players[in_action]
          min_bet = current_buy_in - our_player["bet"]
          bet_index = game_state["bet_index"]
          community_cards = game_state["community_cards"]
          round = game_state["round"]
  
          n_playing = len([x for x in players if x["status"] == "active")
  
          #pre-flop
          if len(community_cards) == 0:
              cards = our_player["hole_cards"]
              #if we have at least one ace or a pair, we bet the first hand, if not, then fold
              if (cards[0]["rank"] == 'A'
                      or cards[1]["rank"] == 'A'
                      or cards[0]["rank"] == cards[1]["rank"]):
                  this_bet = min_bet + minimum_raise
              else:
                  this_bet = 0
          else:
              this_bet = 100
          print "******** ROUND", round, "BET_INDEX", bet_index, "BET", this_bet, "STACK", our_player["stack"], "N_PLAYING", n_playing
          return this_bet
  
      def showdown(self, game_state):
          pass
  
new_contents: import sys
  sys.stdout = sys.stderr
  
  print "PYTHON VERSION", sys.version
  
  class Player:
      VERSION = "Default Python folding player"
  
      def betRequest(self, game_state):
          in_action = game_state["in_action"]
          current_buy_in = game_state["current_buy_in"]
          pot = game_state["pot"]
          minimum_raise = game_state["minimum_raise"]
          players = game_state["players"]
          our_player = players[in_action]
          min_bet = current_buy_in - our_player["bet"]
          bet_index = game_state["bet_index"]
          community_cards = game_state["community_cards"]
          round = game_state["round"]
  
          n_playing = len([x for x in players if x["status"] == "active"])
  
          #pre-flop
          if len(community_cards) == 0:
              cards = our_player["hole_cards"]
              #if we have at least one ace or a pair, we bet the first hand, if not, then fold
              if (cards[0]["rank"] == 'A'
                      or cards[1]["rank"] == 'A'
                      or cards[0]["rank"] == cards[1]["rank"]):
                  this_bet = min_bet + minimum_raise
              else:
                  this_bet = 0
          else:
              this_bet = 100
          print "******** ROUND", round, "BET_INDEX", bet_index, "BET", this_bet, "STACK", our_player["stack"], "N_PLAYING", n_playing
          return this_bet
  
      def showdown(self, game_state):
          pass
  
subject: fix typo