Question: use while loop please Create a Python function called printHashtagsthat expects one argument, a non-negative integer, and printsa row of hashtags, where the number of
use while loop please
Create a Python function called printHashtagsthat expects one argument, a non-negative integer, and printsa row of hashtags, where the number of hashtagsis given by the value passed as the argument. Control the printing with a while loop, not with a construct that looks like print("#" * n). This function does not return any value. Here are some examples of how your function should behave:
>>> printHashtags(1)
#
>>> printHashtags(2)
##
>>> printHashtags(3)
###
>>> printHashtags(4)
####
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
