Create dvd collection and calculate runtime
Project description
# movie collection package
— Creates class object to hold your collection of DVDs It keeps track of the title, length in minutes, and year released on DVD
# calculations
getHoursOrMins function allows you to calculate the total amount of time your movies add up to in either minutes or hours (decimal form) Input is either ‘minute’, ‘minutes’, ‘hour’, ‘hours’ Not case-sensitive Minutes are returned in integer, hours are returned in decimal
totalTime function allows you to get the total amount of time in both hours and minutes For example, getHourOrMins could return 72 minutes or 1.2 hours totalTime will return “All movies in my collection add up to 1 hours and 12 minutes long” “””
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for movie_collection-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f577c30cb5892e5041af3100bb265465e51fd33c7167fbf722b1f5d7af56b79 |
|
MD5 | 4c77bfd090e71223bf56b26eed063cda |
|
BLAKE2b-256 | cd6bad7c7cdc753bfbff8da04bdec7155e8294f0de8cf196c4e19b87b6481532 |