Challenge Description

Write a program that prints the following star pattern:

*****
****
***
**
*
Solution

  for i in range(5, 0, -1):
    print('*' * i)
  
To achieve this, we can use a `for` loop that iterates from 5 down to 1, decrementing by 1 each time. This means it starts at 5 and stops before reaching 0. And for each `for` loop iteration, the number of stars printed varies by `i`.
To recall, the `range` function in Python has the following syntax:

range(starting_index, ending_index, step_value)

In this case, range(5, 0, -1) means:

Thus, the loop will generate the sequence: 5, 4, 3, 2, 1.

Good luck and happy coding!