python字符串中如何做到不转义%s

2025-04-26 06:22:00
推荐回答(1个)
回答1:

用双百分号

str = "Hello %s, %%s" % 'world!'