We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da45581 commit 335aa89Copy full SHA for 335aa89
examples/word_clock.py
@@ -66,7 +66,7 @@ def approx_time(hours, minutes):
66
67
if hours == 12:
68
hours = 0
69
- if minutes > 0 and minutes < 8:
+ if minutes >= 0 and minutes < 8:
70
return "it is about " + nums[hours] + " O'Clock"
71
elif minutes >= 8 and minutes < 23:
72
return "it is about quarter past " + nums[hours]
0 commit comments