3 bedroom two story vs 2 bedroom one story

Would you rather buy a 3 bedroom home that’s two story so two children have their own room (same gender) or buy a home that’s 2 bedrooms (kids share room) that’s one story so don’t have to worry about steps for safety reasons and it be more convenient? Especially when older.