
Electricity bills in Nigeria can be confusing, unpredictable, and sometimes frustrating.
As part of my 30 Days of Python Projects challenge, Day 9 focuses on conditional statements by solving a real Nigerian problem — understanding electricity bills from PHCN / DisCos.
In this article, I’ll walk you through the problem, the Python concepts used, and how we built a simple Electricity Bill Analyzer.
🌍 The Nigerian Electricity Billing Problem
In Nigeria:
- Most households receive monthly bills from PHCN or Distribution Companies (DisCos)
- Bills often vary wildly from month to month
- Tariff systems are unclear
- Consumers struggle to know if they are being overbilled
This creates problems such as:
- Poor budgeting
- Lack of trust in billing systems
- Difficulty tracking electricity usage
🎯 Project Goal
Build a simple Python program that:
- Accepts monthly electricity consumption (kWh)
- Estimates the electricity bill
- Categorizes the bill as Low, Medium, or High
- Flags unusually high bills
- Gives basic energy-saving advice
This project is beginner-friendly and focuses on conditional logic.
🧠 Python Concepts Covered (Day 9)
This project focuses on:
-
if,elif,elsestatements - Comparison operators (
>,<,<=,>=) - Logical decision-making
- User input handling
- Printing dynamic messages
Top comments (0)