Uploaded July 2021 | Updated September 2026, 2 weeks ago
Create your #Lambda function with this simple example and the high level understanding how #AWS Lambda is working. For this I used Python 3.8 runtime.
Official AWS documentation says that AWS Lambda is a #serverless compute service that lets you run code without provisioning or managing servers, creating workload-aware cluster scaling logic, maintaining event integrations, or managing runtimes. With Lambda, you can run code for virtually any type of application or backend service - all with zero administration.
Source to AWS Official documentation is here: aws.amazon.com/lambda
In this video I will use the "Author from scratch" option to demonstrate how AWS Lambda is working by passing a string argument to the function and returning a specified output based on the input value. It is like a Hello World example. But if you are learning AWS, this could be a good start.
If you explore more on this functionality, you can extend you MLOps skills on the top and upgrade your apps to make it more saving cost.
Finally, you will learn how to test your Lambda function by simulating various scenarios by changing input parameters.
Enjoy!
Create your #Lambda function with this simple example and the high level understanding how #AWS Lambda is working. For this I used Python 3.8 runtime.
Official AWS documentation says that AWS Lambda is a #serverless compute service that lets you run code without provisioning or managing servers, creating workload-aware cluster scaling logic, maintaining event integrations, or managing runtimes. With Lambda, you can run code for virtually any type of application or backend service - all with zero administration.
Source to AWS Official documentation is here: aws.amazon.com/lambda
In this video I will use the "Author from scratch" option to demonstrate how AWS Lambda is working by passing a string argument to the function and returning a specified output based on the input value. It is like a Hello World example. But if you are learning AWS, this could be a good start.
If you explore more on this functionality, you can extend you MLOps skills on the top and upgrade your apps to make it more saving cost.
Finally, you will learn how to test your Lambda function by simulating various scenarios by changing input parameters.
Enjoy!










![Stop using range() for loops in Python. Use enumerate()
With this video I explain why in many cases we should use enumerate() instead of range() function in Python for loops.
The way of using range() is ugly: You either need a separate variable assignment to get the element or use a[i] all the time which could theoretically be an expensive operation. The point is that you generally dont want to use range(len(l)) when you want to iterate the elements of a list (although there may still be cases where it makes sense).
I think than enumerate is much more flexible and readable Python coding option than len(l) with range().
Thank you for watching. See you on other tutorials.
Vytautas.
#pythonfunctions
#pythonloops
#pythonbegineers Stop using range() for loops in Python. Use enumerate()](https://i.ytimg.com/vi/XUtAy9K0JSE/mqdefault.jpg)