Q:

Write a Python program to create a 3X3 grid with numbers

0

Write a Python program to create a 3X3 grid with numbers

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

nums = []
for i in range(3):
    nums.append([])
    for j in range(1, 4):
        nums[i].append(j)
print("3X3 grid with numbers:")
print(nums)

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now