Skip to content

sanchitc05/Good-Morning-Sir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Good Morning Sir

This is a simple Python script that greets the user based on the local time and the gender they have input. Depending on the time of day, the program will say "Good Morning", "Good Afternoon", "Good Evening", or "Good Night". It will also address the user as "Sir" or "Ma'am" based on the gender entered by the user.

Features

  • Greets the user based on the current time.
  • Addresses the user as "Sir" or "Madam" based on the gender they input.

Example

If your name is Sanchit and you identify as male, the program will greet you as "Good Morning Sir", "Good Evening Sir", or "Good Night Sir" depending on the time of day. For a female user, it will greet as "Good Morning Ma'am", "Good Evening Ma'am", or "Good Night Ma'am".

Usage

To use this script, simply run it and follow the prompts to enter your name and gender.

Installation

  1. Clone the repository:
    git clone https://github.com/sanchitc05/Good-Morning-Sir.git
  2. Navigate to the project directory:
    cd good-morning-sir
  3. Run the script:
    python script.py

Contributing

If you would like to contribute to this project, please fork the repository and submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Author

Sanchit Chauhan

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages