Comp 110 Optional Worksheet 01

This is an OPTIONAL worksheet for Unit 1, so you should not submit it to Gradescope. However, it is recommended and available as extra practice.
Optional WS1 Optional Ws1 Key

Note: Question #6 has you code a function to determine the Collatz sequence given some number n. The key has collatz taking in no parameters, which is incorrect. Your solution should take in a number n and use it similar to the way the key does.