Draw Stars

Part 1 Create a function called draw_stars() that takes an array of numbers and echo out an asterisk, or '*'.

Numbered Stars


The array is: 4, 6, 1, 3, 5, 7, 25****
******
*
***
*****
*******
*************************

Strings Enhancement


Part 2
Modify the function above. Allow an array, that contains integers and strings, to be passed to the draw_stars() function. When a string is passed, instead of displaying *, display the first letter of the string
The array is: 4, "Tom", 1, "Michael", 5, 7, "Jimmy Smith", "clue", 12, "elephant 12 stuff"****
ttt
*
mmmmmmm
*****
*******
jjjjjjjjjjj
cccc
************
eeeeeeeeeeeeeeeee