Skip to content

Solution to PS - #4

Open
TanviSutar wants to merge 1 commit into
ashwinitanpure:masterfrom
TanviSutar:master
Open

Solution to PS#4
TanviSutar wants to merge 1 commit into
ashwinitanpure:masterfrom
TanviSutar:master

Conversation

@TanviSutar

Copy link
Copy Markdown

Added a .py file that has the code for the following statement:
Starting with any positive integer, replace the number by the sum of the squares of its digits, and repeat the process until the number is equal to 1, or it loops endlessly in a cycle which does not include 1.

Starting with any positive integer, replace the number by the sum of the squares of its digits, and repeat the process until the number is equal to 1, or it loops endlessly in a cycle which does not include 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant