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)

要查看或添加评论,请登录

Divey Anand的更多文章

社区洞察

其他会员也浏览了