0
Please i need someone to help me explain this code from line 1 to the last line. I just came across it but i don't understand it
def pascals_triangle (number): for i in range (number+1): a= " " for j in range (number-i): a=a + " " for k in range (i): a=a + "3" Print (a) pascals_triangle (5) Results: 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
1 Answer
+ 1
You've already posted this question: https://www.sololearn.com/Discuss/2228275/?ref=app
please don't duplicate your post just because you doesn't get any response as quickest as you want ^^