Skip to content

Commit ab71725

Browse files
authored
Update README.md
1 parent 53f51ac commit ab71725

File tree

1 file changed

+13
-51
lines changed

1 file changed

+13
-51
lines changed

age-classifier/README.md

Lines changed: 13 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,26 @@
1-
# Age Classifier
1+
# Age Classifier | رده‌بندی سنی
22

3-
A simple Python project to classify users into age groups based on their input age.
3+
Classifies users into age groups based on their input.
4+
دسته‌بندی افراد براساس سن ورودی کاربر.
45

56
---
67

7-
## 🚀 Project Description
8+
## Installation | نصب
9+
```bash
10+
pip install -r requirements.txt
811

9-
This project takes the user's age as input and classifies them into standard age categories (e.g. child, teenager, adult, senior).
10-
It demonstrates input validation, conditional statements, and output formatting in Python.
12+
Usage | نحوه استفاده
1113

12-
---
13-
14-
## 📦 Features
15-
16-
- Reads user input (age)
17-
- Classifies age group based on defined boundaries
18-
- Handles invalid input cases
19-
- Easy-to-modify and expand for new categories
20-
21-
---
22-
23-
## 🛠️ Technologies Used
24-
25-
- Python (basic inputs, conditionals)
26-
- Command-line interface
27-
28-
---
14+
python age_classifier.py
2915

30-
## ▶️ How to Run
16+
Example | نمونه خروجی
3117

32-
1. Make sure you have Python installed.
33-
2. Go to the project directory:
34-
```bash
35-
cd age-classifier
36-
```
37-
3. Run the script:
38-
```bash
39-
python age.py
40-
```
41-
4. Enter an age when prompted and see the result.
18+
Enter your age: 25
19+
You belong to the 'Adult' age group.
4220

43-
---
44-
45-
## 💡 Example
46-
47-
Please enter your age: 27
21+
Tests | تست
4822

49-
You are an adult.
23+
pytest tests/
5024

5125

5226
---
53-
54-
## 👩‍💻 Author
55-
56-
Parisa Mohammadzadeh
57-
[GitHub](https://github.com/shahpari2kht) | [LinkedIn](https://www.linkedin.com/in/parisamohammadzadeh)
58-
Email: Shahpari2kht@gmail.com
59-
60-
---
61-
62-
### پروژه دسته‌بندی سنی
63-
64-
ساده برای تمرین‌های پایتون. ورودی: سن کاربر، خروجی: نمایش گروه سنی.

0 commit comments

Comments
 (0)