The Citizens are on course to defend last season’s title win as they remain unbeaten in the English top-flight this season.
The Etihad Stadium outfit
“You are not going to win every game 4-0 or 5-0. Going through these types of games makes you stronger,” Mahrez told club website.
“We played very well up until the second goal.
“After that, we created more chances and tried to kill the game but in football when you are 2-0 up and the oppositions score, the crowd get behind them and it’s difficult.
“We are very happy to win and get the three points.
“Now we need to focus every three days. We need to be ready and at our top. Anyone in the top four can still win the league.
“Nothing is done and we need to keep working very hard for each other and the team and trying to win every game.”
The Algeria international who moved to Manchester on a club-record fee in the summer is enjoying a fine debut season in Pep Guardiola's team with five goals and two assists in 14 Premier League appearances so far.