A number is called happy number if it leads to 1 after a sequence of steps where in each step number is replaced by sum of squares of It's digit that is if we start with happy number and keep replacing it with digits square sum, we reach 1.
For example:
1^2+9^2=82
8^2+2^2=68
6^2+8^2=100
#shorts #python #coding
#programming #learn_coding
En esta página del sitio puede ver el video en línea #pyhon de Duración hora minuto segunda en buena calidad , que subió el usuario Code Analysis 09 noviembre 2021, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 619 veces y le gustó 34 a los espectadores. Disfruta viendo!