Question: Python 3 Diamond Code Question How can I get the my output to look exactly like this? Preferably using def. Here is the code that

17 18 diamond (1 diamond (2 diamond (5 ( 19 20 1 Process finished with exit code 0 In [14]: def diamond (rows) : for i in range(rows) : print(" "* (rows-i-1)+ " *"* (i+1)) for j in range (rows-1,0,-1): print(" "*(rows-7)+" *"*(j)) diamond (1) diamond (2) diamond (5) * * * * * *
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
