Python
Python to solve human's problem

Python

Many a times I am stuck with a number converting to a list. I think you did not get my point right. For E.g. There is a number where I am interested in its digit to calculate sum and product or may be sometimes, I am interested in list also to create.

Python made it easy for me.

No alt text provided for this image

Result is 105

#howtocovertintegertostring #loopinginanumber #pythonfordatascience

Inbuilt functions in Python.

No alt text provided for this image
No alt text provided for this image
No alt text provided for this image

How to sort Array in Python?

  def largestPerimeter(self, A: List[int]) -> int:

    A.sort(reverse = True)

To view or add a comment, sign in

More articles by Divey Anand

Insights from the community

Others also viewed

Explore topics