C shape

C SHAPE

Write a function that takes in number as argument and draws the C pattern/shape Input

let cPattern(5) => Expected output:
def c_pattern(5):

Input

*****
*
*
*
*****

RAW CONTENT URL