fact = lambda n: (n and n-1) and n*fact(n-1) or 1
Wednesday, November 26, 2008
Recursive lambda implementation factorial function in Python
It is easy to implement factorial function use recursive in Python, but how do you implement it by using recursive lambda in Python? Here is my try:
Tuesday, November 25, 2008
What are the Secrets of the Furious Five?
Did you get the secrets of the Furious Five?
Patience(耐心), Courage(勇气), Confidence(信心), Control your strength(自制力) , Compassion(同情心)
Patience(耐心), Courage(勇气), Confidence(信心), Control your strength(自制力) , Compassion(同情心)
Subscribe to:
Posts (Atom)
Full Guide for using Bitnami Prometheus Operator Helm Chart with Additional Scrape Configuration
"The Prometheus Operator for Kubernetes provides easy monitoring definitions for Kubernetes services and deployment and management of...
-
After some digging, finally I got android market working on Android emulator 2.2 running on Windows Vista. Here is the steps,: Start SDK Set...
-
"The Prometheus Operator for Kubernetes provides easy monitoring definitions for Kubernetes services and deployment and management of...
-
Thingsboard is a fantastic open source IoT data gathering and visualization platform. I was trying to setup the local development mode for ...