Sum and Product of Terms by Python
- Let
tn = 2n - 1
, where n >= 1
.
Find the answer of the following by a 'for'
loop of Python:
- Let
tn = 2n - 1
, where n >= 1
.
Find the answer of the following by a 'while'
of Python:
- Let
x1 = 2
, and xn = 3 + xn-1
, where n >= 2
.
Find the answer of the following by loops of Python: