Python Code Refactor AI
Paste your Python code below, choose an action, and let AI work its magic.
Your Python Code
def calculate_sum_and_product(numbers_list): s = 0 p = 1 for n in numbers_list: s += n p *= n return [s, p]
AI Output
Copy
Download Code