+ 1

How to remove those brackets

When i take this line of code and print md = datetime.now().strftime("%m, %d") the output is (3, 23) what can I do to get 3, 23 instead of that.

23rd Mar 2018, 12:51 PM
Vedant
Vedant - avatar
1 Antwort
+ 4
import datetime md= datetime.datetime.now().strftime("%m, %d") print(md) This prints 3, 23 when I run it
23rd Mar 2018, 1:09 PM
LordHill
LordHill - avatar