Agree with the above. I preferred Budapest. I spent 5 days in each city. Prague is a fascinating city with a lot of history, but it reminded me of Barcelona or Lisbon, in that it's become a tourist factory and doesn't seem to function as an actual city. Budapest seems to be off the beaten path and there's alot to discover.