Skip to content

NedaTizna/Appointment-System-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Clinic Booking App

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.

Features

  • 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.

How It Works

  1. The user enters their first name, surname, and age.
  2. The program shows which days are available for booking.
  3. The user selects a day.
  4. A random, unique appointment time is assigned.
  5. The system confirms the booking.

Requirements

  • 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.

About

A simple appointment scheduling system that assigns users their day and time slot.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages