Heart Rate
This commit is contained in:
6
heartrate.py
Normal file
6
heartrate.py
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
n = int(input())
|
||||||
|
for _ in range(n):
|
||||||
|
b, p = input().strip().split()
|
||||||
|
b = int(b)
|
||||||
|
p = float(p)
|
||||||
|
print(f"{60 * (b-1) / p:.4f} {60 * b / p:.4f} {60 * (b+1) / p:.4f}")
|
||||||
Reference in New Issue
Block a user