为什么从 SQL 表中打印的值在列表中有很多空格?
我有一个 SQL 数据库,每次尝试从 SQL 打印出值时,我都会得到带有大量空格的输出。
<class 'list'>
('6 ', '6
')
我期望它是这样的
<class 'list'>
('6', '6')
有什么可以改变它吗? 这是我的 SQL 的样子
I have a database in SQL and every time when I try to print out the values from SQL I get this output with lots of spaces.
<class 'list'>
('6 ', '6
')
Where I expect it to be something like this
<class 'list'>
('6', '6')
Is there anything that can be done to change it?
here is what my SQL looks like
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)