src/control-flow-basics/exercise.md
The Collatz Sequence is defined as follows, for an arbitrary n<sub>1</sub> greater than zero:
For example, beginning with n<sub>1</sub> = 3:
Write a function to calculate the length of the Collatz sequence for a given
initial n.
# // Copyright 2023 Google LLC
# // SPDX-License-Identifier: Apache-2.0
#
{{#include exercise.rs:collatz_length}}
todo!("Implement this")
}
{{#include exercise.rs:main}}