Cody Bable

Generation

generate functionTue, 25 Apr 2023

create a multiplication table grid

def multiplication_table(a, b): for i in range(1, a+1): for j in range(1, b+1): print(i*j, end=' ') print() multiplication_table(3, 3)

Questions about programming?Chat with your personal AI assistant