print(1+1)
lst.appent(1+1)

이런 식으로 하는 것보다
value = 1+1
print(value)
lst.append(value)

이렇게 하는 게 더 빠름?
만약 1+1가 아니라 꽤 오래걸리는 연산이라면?

- dc official App