Skip to content

ImperatorOz/timeConverter-repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Time Converter Script in Python

This Python script takes a user-provided number of seconds as input and converts it into a more human-readable format of hours, minutes, and remaining seconds.

Features

  • Basic and user-friendly interface for converting seconds.
  • Easy to understand code for educational purposes.

Usage

  1. Clone or download the repository.
  2. Run the script using 'python timeConverter.py'.
  3. Enter the number of seconds you want to convert when prompted.
  4. The script will print the converted time in hours, minutes, and seconds.

Example

Input:

Enter a number of seconds: 7800

Output:

Here is the time in hours, minutes, and seconds:  
Hours: 277 
Minutes: 10 
Seconds : 0

Dependencies

This script requires no external libraries and uses only built-in Python functionalities.

Contributing

Feel free to fork this repository and make improvements! Any suggestions or pull requests are welcome.

License

This script is distributed under the MIT License.

About

Basic time converter script.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages