list*int, list+list

BABY CAT·2022년 10월 12일
0

python

목록 보기
17/22
v = [0]*5
print(v) # [0, 0, 0, 0, 0]
v2 = [0]+[5]
print(v2) # [0, 5]

0개의 댓글