Aabha AI Academy All articles

Articles

Practical explanations with worked examples and questions to try.

5 articles matching “Python”.

Python generators do one piece at a time

Watch when Python prepares a value and what an exhausted stream leaves for its next consumer.

Understand shallow and deep copies of nested Python lists

A picnic plan reveals which lists are shared after assignment, a shallow copy and a deep copy.

Use Decimal with an explicit receipt rounding rule

Two discounted prices explain why the rounding rule includes both how and when to round.

Test an API Before You Trust It

A small automated test can catch a broken response before a user does. Build a tiny FastAPI service, then check its happy path, rejected inputs, and boundary values with repeatable tests.

Clean a Messy CSV with Python A Reproducible First Project

Build and test a Python CSV cleaner that keeps valid records and explains review decisions.