This project demonstrates beginner Python programming through conditional logic and function-based design. It prompts the user for a birth year, processes the input through a custom function, and returns the matching generation label.
The program uses if/elif/else logic to classify a user into a generation based on birth year ranges. The logic is stored in a separate function file and imported into the main program to demonstrate modular design and reusable code.
- Accepts user birth year input
- Converts input into an integer
- Classifies the user into a generation
- Uses reusable function-based logic across multiple files
- Python programming
- Conditional logic
- Functions and return values
- Module imports
- User input handling
- Basic validation and classification logic
main.pygeneration_functions.py
This project shows how basic Python logic can be used to solve a real classification problem. It reflects foundational problem-solving skills that support later work in scripting, analytics, and data-driven programming.