$$\sum_{n=0}^{\infty} |(-0.8)^n \theta(n)-(-0.8)^{n-1} \theta(n-1)|$$ $\theta(n) = 1$ for $n \geq 0$ and 0 otherwise.
My attempt to calculate this summation numerically with Python yielded 10. To ensure correctness I tried to verify this answer by calling Wolframalpha within Mathematica with the following query:
Sum[Abs[UnitStep[n]*(-0.8)^(n) - UnitStep[n-1]*(-0.8)^(n-1)],{n,0,Infinity}]
It returned 3.6 as primary answer but it's partial sum converged to 10. I am now wondering which answer is correct.
The answer is $10$.
Note that you can rewrite $$\begin{align} \sum_{n=0}^{\infty} |(-0.8)^n \theta(n)-(-0.8)^{n-1} \theta(n-1)| &= |(-0.8)^0-0|+\sum_{n=1}^{\infty} |(-0.8)^n \theta(n)-(-0.8)^{n-1} \theta(n-1)|\\ &= 1+\sum_{n=1}^{\infty} |(-0.8)^n -(-0.8)^{n-1} |\\ &= 1+\sum_{n=1}^{\infty} |(-0.8)^{n-1}| |(-0.8) -1 |\\ &= 1+1.8\cdot\sum_{n=1}^{\infty} 0.8^{n-1} = 1+1.8\cdot\sum_{n=0}^{\infty} 0.8^{n}\\ &= 1+1.8\cdot 5 = 1+9\\ &= \boxed{10} \end{align}$$
It looks like WolframAlpha really does not like the mix of absolute values and alternating power signs. It has nothing to do with the $\theta(\cdot)$ function itself, as seen here with
Sum[Abs[(-8/10)^(n) - (-8/10)^(n-1)],{n,1,Infinity}]+1.Mathematica, on the other hand, is fine with it.