0

i want to arrange this list;

(11, 'CSS', 'Dickson Makale', '2017-02-03 14:48:23')

to samething like this:

11: CSS: Dickson Makale: 2017-02-03 14:48:23

i am printing the data from sqlite database

Mohammad Yusuf
  • 16,554
  • 10
  • 50
  • 78
McKale
  • 1

1 Answers1

0

you can try something like

": ".join(str(x) for x in (11, 'CSS', 'Dickson Makale', '2017-02-03 14:48:23'))
taoufik A
  • 1,439
  • 11
  • 20