Python Forum
Can I delete single quotes in string matrix display
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can I delete single quotes in string matrix display
#2
>>> from pprint import pprint

>>> pprint(matrix)
[[0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0]]
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply


Messages In This Thread
RE: Can I delete single quotes in string matrix display - by wavic - Jul-22-2017, 09:29 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Check if two matrix are equal and of not add the matrix to the list quest 3 778 Jul-10-2023, 02:41 AM
Last Post: deanhystad
  How to display <IPython.core.display.HTML object>? pythopen 3 45,696 May-06-2023, 08:14 AM
Last Post: pramod08728
  Need help on how to include single quotes on data of variable string hani_hms 5 1,883 Jan-10-2023, 11:26 AM
Last Post: codinglearner
  python sql query single quote in a string mg24 1 993 Nov-18-2022, 08:01 PM
Last Post: deanhystad
  Delete multiple comments with a single API call (facebook) Ascalon 0 2,265 Dec-04-2021, 08:33 PM
Last Post: Ascalon
Question [SOLVED] Delete specific characters from string lines EnfantNicolas 4 2,141 Oct-21-2021, 11:28 AM
Last Post: EnfantNicolas
  How to multiply a matrix with herself, until the zero matrix results peanutbutterandjelly 3 3,298 May-03-2021, 06:30 AM
Last Post: Gribouillis
  Parse String between 2 Delimiters and add as single list items lastyle 5 3,279 Apr-11-2021, 11:03 PM
Last Post: lastyle
  Remove single and double quotes from a csv file in 3 to 4 column shantanu97 0 6,925 Mar-31-2021, 10:52 AM
Last Post: shantanu97
  Two types of single quotes Led_Zeppelin 2 1,862 Mar-15-2021, 07:55 PM
Last Post: BashBedlam

Forum Jump:

User Panel Messages

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