Calculate the product of the tuple elements.
(t: Tuple)
| 175 | |
| 176 | |
| 177 | def tuple_product(t: Tuple) -> Any: |
| 178 | """Calculate the product of the tuple elements.""" |
| 179 | result = 1 |
| 180 | |
| 181 | for v in t: |
| 182 | result *= v |
| 183 | |
| 184 | return result |
| 185 | |
| 186 | |
| 187 | _str_to_ctype = { |
nothing calls this directly
no outgoing calls
no test coverage detected