When I ran the below code I got 3 and 36 as the answers respectively.

x ="abd"
print len(x)
print sys.getsizeof(x)

Can someone explain to me what's the difference between them ?

Edit
Report