1. !表示反转逻辑表达式的值 2. 打印格式控制中: x!r代表repr(x),x!s代表str(x),x!a代表ascii(x) 转载于:https://www.cnblogs.com/20170722-kong/p/7884805.html