Write a PYTHON function getTimeName(hours, minutes) that returns the English name for a point in time, such as "ten minutes past two", "half past three", "a quarter ‘til four", or "five o'clock". Example output: 8:45 is a quarter ‘til nine.

icon
Related questions
Question

Write a PYTHON function getTimeName(hours, minutes) that returns the English name for a point in time, such as "ten minutes past two", "half past three", "a quarter ‘til four", or "five o'clock".

Example output: 8:45 is a quarter ‘til nine. 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Function Arguments
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.