Python Forum
hide object type in printing
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
hide object type in printing
#1
Hi
I have an 2d array A.which each elements of it is a list . when I print A, It gives me sth like this:

[list([]) list([]) list([])]
[list([]) list([]) list([])]
[list([]) list([]) list([])]]

but i dont like to show 'list' word in the print result! Sad
thanks for ur help in advance.
+i use python 3
Reply


Messages In This Thread
hide object type in printing - by shirin - Sep-16-2019, 11:54 AM
RE: hide object type in printing - by buran - Sep-16-2019, 12:52 PM
RE: hide object type in printing - by shirin - Sep-17-2019, 05:44 AM

Forum Jump:

User Panel Messages

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