python中的括号 python中的括号 2025-11-13 point 阅读量:668 小括号:用于函数调用时、元组定义、数学运算时提高优先级。 中括号:用于列表的定义、下标的使用。 大括号:用于字典的定义、集合的格式、f格式化输出。