Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

movie_collection-0.1.1.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

movie_collection-0.1.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file movie_collection-0.1.1.tar.gz.

File metadata

File hashes

Hashes for movie_collection-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b5b2b3279b4c583c3294e4735b25e9f04698d1d635620ae288002d2f7c316e3b
MD5 6016b125befa425c022eb919226abc0c
BLAKE2b-256 e60be972bf88a3efc321ab0469bc7fff26542b394de39fa407cbc545b546d078

See more details on using hashes here.

File details

Details for the file movie_collection-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for movie_collection-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3f577c30cb5892e5041af3100bb265465e51fd33c7167fbf722b1f5d7af56b79
MD5 4c77bfd090e71223bf56b26eed063cda
BLAKE2b-256 cd6bad7c7cdc753bfbff8da04bdec7155e8294f0de8cf196c4e19b87b6481532

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page