Problem 422. Closely related?

Created by Amitava Biswas

Given a function past_records() that will report blood sugar level of two twin brothers some random number of days ago. For example, one call to past_records() may give [77 78]. Another call to past_records() may give [60 48]. Your crystal_ball should create a function second(first) that will predict blood sugar of second brother from blood sugar level of first brother, (within +/-1).

Hint: assume a crystal_ball exists here.

Tags

Problem Group

15 solvers submitted 36 solutions (2.4 solutions/solver).