python 다운?
list_num = []
for number in range(10) :
list_num.append(number)
print(list_num)
print(list(range(10))
'''
> [ 표현식 for 항목 in (순회 가능한 객체)]
list_num = [number for number in range(10)]
if문을 추가할 수도 있다
list_num = [n for n in range(10) if n % 2 == 0]
{key : value for -- in --}
text = 'hello world, hello'
letter_count = {}
letter_count = {ch : text.count(ch) for ch in text}
print(letter_count)