list(range(5)) list(range(0,5)) list(range(1,11)) for x in range(5): print(x) s=0 for x in range(1,10+1): s = s + x print("x:",x," sum:", s)