This is just a few warmup functions. All parts of HW3 are due Wed Jan 29th at 11:55 pm.
A note on range() and reversed():
Here is the standard for/i/range loop
for i in range(10):
This runs i through the numbers 0, 1, 2, ... 8, 9
The reversed() function takes in a sequence and reverses it, so the loop
for i in reversed(range(10)):
runs i through the same numbers in reverse order 9, 8, 7, .... 2, 1, 0
These problems can be solved in many ways, but in this case, the instructions say to solve them using for/i/range loops.
> Str Warmups (submit link added)