Make sure to pick print followed by ( and then f"New distance record:, {, best_distance, }, km", ).
print
(
f"New distance record:
{
best_distance
}
km"
)