Nielsen interview question

check if happy number in python?