Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: hide object type in printing
Post: RE: hide object type in printing

this is what I wrote: import numpy as np A=np.zeros((3,3),dtype=object) #or object for i in range(3): for j in range(3): A[i,j]=[] #wanna be empty list to be filled later print(A)outpu...
shirin Homework 2 1,677 Sep-17-2019, 05:44 AM
    Thread: hide object type in printing
Post: hide object type in printing

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([])]] bu...
shirin Homework 2 1,677 Sep-16-2019, 11:54 AM

User Panel Messages

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