← Back to Question List
Python Code Walkthrough #13
Two Accumulators
📄 Code
Read carefully — what does this print?1total: int = 02count: int = 03for value in [5, 10, 15]:4 total = total + value5 count = count + 16print(total, count)7print(total / count)