Python 传递元组参数 2022年12月30日13:25:31 比如元组定义如下: # Color (r,g,b,alpha) Black = (0, 0, 0, 255) 当元组作为参数传递时,需要在名称前加“*” hp_render.set_color(*Red)