Cody Bable

Generation

generate functionTue, 25 Apr 2023

create a multiplication table grid greater than 11

def multiplication_table(width, height): for i in range(1, height+1): for j in range(1, width+1): print("{:4}".format(i*j), end="") print() multiplication_table(13, 13)

Questions about programming?Chat with your personal AI assistant