Final Value of an Accumulator Over range(0, 10, 2)

Company: DIT intern hiring test

Difficulty: medium

Problem Statement

Question 1

What is the value of `a` at the end of the loop? ```python a = 0 for b in range(0,10,2): a += b + 1 ```