E
E
EcoTry2021-05-24 20:14:15
Python
EcoTry, 2021-05-24 20:14:15

How can I display a value without punctuation marks?

How can I display a value without punctuation marks?
Here is the code:

elif args[0] == 'show':
        i = base.execute('SELECT * FROM data').fetchall()
        await ctx.send(i)


It comes out like this
[('Nikita', 'MrCrazyHous', 'EcoTry#6220', '13', '23-05-2021 23:41', 1)]

I would like it like this:
Nikita MrCrazyHous EcoTry#6220 13 23-05-2021 23:41

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
l0cked, 2021-05-24
@EcoTry

It is possible like this:

values = [('Никита', 'MrCrazyHous', 'EcoTry#6220', '13', '23-05-2021 23:41', 1)]
print(' '.join(str(v) for v in values[0]))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question