Cody Bable

Generation

generate functionTue, 23 May 2023

def nearest_value(values: set[int], one: int) -> int:

def closest_mod_5(x): if x % 5 == 0: return x return x + (5 - x % 5)

Questions about programming?Chat with your personal AI assistant