Cody Bable

Generation

generate functionTue, 25 Apr 2023

create a multiplication table grid

def create_multiplication_table(m, n): for i in range(1, m+1): for j in range(1, n+1): print(i*j, end="\t") print() create_multiplication_table(3, 5)

Questions about programming?Chat with your personal AI assistant