121 Number Square Pattern without any pre-defined method using while loop in Python

Published --