I want to write some python in linux terminal, like
sumA = 0
j = 1
while j < 10:
sumA += j
j += 1
sumA
when enter python prompt is >>>, after the third sentence prompt turns to ..., I can't continue input after hit enter when the fourth sentence finished, I got an error: IndentationError: expected an indented block after 'while' statement on line 1. How to do to avoid this?