问题描述
假设我在 python 中写了一行:
result_string = f"panel_index_numbers={(','.join(str(n) for n in panel_index_numbers).replace(',',':'))}"
如何通过将花括号内的数据分成两行来正确书写,
即第一行数据应该是:result_string = f"panel_index_numbers={(','.join(str(n) for
,第二行数据应该是n in panel_index_numbers).replace(',':'))}"
。我需要将它写在 2 个单独的行中,因为在一个特定的行中,字节最多应为 79 个字节。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)