Python for AI cheat sheet
Practice Python data types, functions, CSV loading, validation, and basic metrics with runnable examples.
- Run contoh.py with the supplied practice-sales.csv file in the expected directory.
- Check numeric conversions, missing values, empty inputs, and the working directory.
- Change one input at a time and compare the output with a manual calculation.