![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 28.08.2021 01:00 lelliott86
Write a function called clockAdd(t, h) that performs modular arithmetic. Given an initial time t (an integer, in hours) and the number of hours elapsed (h) return the new time (t h) but correcting for the fact that standard 12 hour clocks only display hours between 0 (inclusive) and 12 (exclusive) after the addition.
from collections. abc import Callable
assert isinstance(clockAdd, Callable)
assert clockAdd(3, 5) == 8
assert clockAdd(10,1) == 11
assert clockAdd(4,10) == 2
assert clockAdd(1000, 400) == 8
assert clockAdd(7, 0) == 7
assert clockAdd(0, -1) == 11
![ansver](/tpl/images/cats/User.png)
Answers: 3
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 09:00
What is one way in which tablets differ from laptops and notebooks? tablets are designed for touch-based interaction. tablets are designed to be used as desktops. tablets are designed for input via a keyboard and mouse. tablets are designed to be larger than laptops.
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 10:00
You need a reliable network for about twenty-five computers that will be distributed across a large building. it is important that the network be relatively cheap. which topology should you use?
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 22:30
The qwerty keyboard is the most common layout of keys on a keyboard
Answers: 3
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 10:00
How do i delete my account on this because i didn't read this agreements and also i put age at xd
Answers: 1
You know the right answer?
Write a function called clockAdd(t, h) that performs modular arithmetic. Given an initial time t (an...
Questions
![question](/tpl/images/cats/mat.png)
Mathematics, 31.05.2020 12:57
![question](/tpl/images/cats/mat.png)
Mathematics, 31.05.2020 12:57
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 31.05.2020 12:57
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 31.05.2020 12:57
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 31.05.2020 12:57
![question](/tpl/images/cats/mat.png)
Mathematics, 31.05.2020 12:57
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/en.png)
English, 31.05.2020 12:57
![question](/tpl/images/cats/mat.png)
Mathematics, 31.05.2020 12:57
![question](/tpl/images/cats/mat.png)
Mathematics, 31.05.2020 12:57
![question](/tpl/images/cats/en.png)
English, 31.05.2020 12:57
![question](/tpl/images/cats/mat.png)
Mathematics, 31.05.2020 12:57