como usar a soma com range python
res = sum(x for x in range(100, 2001) if x % 3 == 0)
Vivacious Vole
res = sum(x for x in range(100, 2001) if x % 3 == 0)