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.
2 parents da45581 + 335aa89 commit e3f680bCopy full SHA for e3f680b
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