The Democratic presidential candidate responded in the most fitting way.
"It was pret-ty, pret-ty, pretty good!" Sanders told Kimmel, mimicking David's famous line from Curb Your Enthusiasm.
If Sanders loses the nomination, perhaps he has a future in stand-up comedy.
Check out part of the interview below, and check out David's take on Sanders during Saturday Night Live here.