A simple Python-based appointment booking system for a dermatology clinic.
This program allows users to book appointments with Dr. Ali Karimi on specific days and times.
- Displays available working days (Saturday, Sunday, Wednesday).
- Prevents booking on fully booked days (Monday, Tuesday).
- Assigns a random available time slot between 08:00 and 14:00.
- Ensures no duplicate time slots are given.
- Easy to use with simple text-based interface.
- The user enters their first name, surname, and age.
- The program shows which days are available for booking.
- The user selects a day.
- A random, unique appointment time is assigned.
- The system confirms the booking.
- Python 3.x
- No external libraries required (only random module is used, which is built-in in Python).
Example Output
Enter your first name: Sara Enter your surname: Ahmadi Enter your age: 25 Available days for appointment: Saturday, Sunday, Wednesday Enter the day you want to book: Sunday Appointment booked successfully for Sara Ahmadi, age 25. Day: Sunday, Time: 11:00, with Dr. Ali Karimi
Skills Practiced:
-Basic Python programming -Lists, loops, and conditionals -Using built-in libraries (random) -Simple logic for scheduling system
Created by Neda for practice in Medical IT projects.