Question: Python i want the code to return * ** ***. how to fix this code 5 def pattern(n): 6 for x in range(1,n+1): 7 stars=**
Python i want the code to return * ** ***. how to fix this code5 def pattern(n): 6 for x in range(1,n+1): 7 stars="*"* + " " 8 return stars thome/pa5_loops.py 8:17 Spaces: 4 (Auto) Terminal [user@sahara -]python - pa5_loops.py >>> pattern(3) **
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
