Python Forum
print 3 table in a 3*3 matrix format
Thread Rating:
  • 2 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
print 3 table in a 3*3 matrix format
#1
Hello guys,

Here i have to print 3 table in 3*3 matrix format
x=3
for i in range(1,10):
    print(x*i)
it gives me the output of 3 table upto 9.
But how to print these values in a 3*3 matrix format?
Reply


Messages In This Thread
print 3 table in a 3*3 matrix format - by MeeranRizvi - Jan-04-2017, 12:33 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  define a diagonal matrix from a matrix amalalaoui 1 2,370 May-15-2019, 01:12 PM
Last Post: ichabod801

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020