# reversed() vs reverse()

a = ['alpha', 'beta', ' gamma']

b = reversed(a)
print(b)
print(a) # original a


# a에 값이 변경됨.
c = a.reverse()
print(c)
print(a) #a is broken



050bf93a051e15b9f7d9ffd8f2f631a5cb0eb810
<mask token>

<mask token>
print(b)
print(a)
<mask token>
print(c)
print(a)

a = ['alpha', 'beta', ' gamma']
b = reversed(a)
print(b)
print(a)
c = a.reverse()
print(c)
print(a)

# reversed() vs reverse()

a = ['alpha', 'beta', ' gamma']

b = reversed(a)
print(b)
print(a) # original a


# a에 값이 변경됨.
c = a.reverse()
print(c)
print(a) #a is broken


