# -*- coding: utf-8 -*-
"""
Created on Wed Dec  2 10:35:26 2020

@author: sanglp
"""

data = [1,2,3,4]
# 列表中元素个数
print(len(data))
# 所有元素的和
print(sum(data))


data = (1,2,3,4)
print(len(data))
print(sum(data))
data = {1,2,3}
print(len(data))
print(sum(data))

data = 'Readability counts'
print(len(data))

data = {97:'a',65:'A',48:'0'}
print(len(data))
print(sum(data))
536ec020b88076c935a6287fd22876b03d2a06f9
<mask token>

<mask token>
print(len(data))
print(sum(data))
<mask token>
print(len(data))
print(sum(data))
<mask token>
print(len(data))
print(sum(data))
<mask token>
print(len(data))
<mask token>
print(len(data))
print(sum(data))

<mask token>
data = [1, 2, 3, 4]
print(len(data))
print(sum(data))
data = 1, 2, 3, 4
print(len(data))
print(sum(data))
data = {1, 2, 3}
print(len(data))
print(sum(data))
data = 'Readability counts'
print(len(data))
data = {(97): 'a', (65): 'A', (48): '0'}
print(len(data))
print(sum(data))

# -*- coding: utf-8 -*-
"""
Created on Wed Dec  2 10:35:26 2020

@author: sanglp
"""

data = [1,2,3,4]
# 列表中元素个数
print(len(data))
# 所有元素的和
print(sum(data))


data = (1,2,3,4)
print(len(data))
print(sum(data))
data = {1,2,3}
print(len(data))
print(sum(data))

data = 'Readability counts'
print(len(data))

data = {97:'a',65:'A',48:'0'}
print(len(data))
print(sum(data))