# Google Interview Question: Happy Numbers

How to solve the Happy numbers problem using Python

**The question:**

Write an algorithm to determine if a number

`n`

is happy.A

happy numberis a number defined by the following process:Starting with any positive integer, replace the number by the sum of the squares of its digits.