Question: Python please! Q1: define a function called printstar(n), which will print n number of '*' on a single line. (Hint, add a ',' at end
Python please!
Q1: define a function called printstar(n), which will print n number of '*' on a single line. (Hint, add a ',' at end of print statement will keep next print to output at same line) test your function by calling
printstar(1) printstar(10) printstar(100)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
