W3School TIY Editor

  • W3School 在线教程
  • 改变方向
  • 暗黑模式
​x
 
# 导入数学库
import math
​
sequence = (2, 2, 2)
​
# 返回元素的乘积
print(math.prod(sequence))