human
Multiplication table till N rows where every Kth row is table of K upto Kth term | Function to pr the multiplication table upto K - th term.
For loop to iterate from 1 to N where i serves as the value of K.
Inner loop which at every iteration goes till i.
Printing the table value for i.
New line after every row.
Driver code"
How can the above be solved in Python?
 Give me a code to multiplication table till N rows where every Kth row is table of K upto Kth term and the other steps required?
assistant
#Here is code to multiplication table till N rows where every Kth row is table of K upto Kth term and the other steps required.
 def prMultiples ( N ) :
	for i in range ( 1 , N + 1 ) :
		for j in range ( 1 , i + 1 ) :
			print ( ( i * j ) , end = " ▁ " )
		print ( )
if __name__ == ' _ _ main _ _ ' :
	N = 5
	prMultiples ( N )