Cody Bable

Generation

generate functionTue, 25 Apr 2023

create a multiplication table grid

def multiplication_table(n): for row in range(1, n+1): for col in range(1, n+1): print(str(row*col),end=" ") print() multiplication_table(4)

Questions about programming?Chat with your personal AI assistant