파이썬 배열 개념
theglory = ["송혜교","이도현","임지연", "엄혜란"] print(theglory) numbers = [5, 12, 23, 56, 169] print(numbers) slists = ['영어', '수학', '사회', '과학'] print(slists) print(slists[3]) print(slists[2]) print(slists[1]) #공백 리스트 cart = [] cart.append("사과") cart.append("세제") print(cart) letters = ['a','b','c','d','e','f'] print(letters[0:3]) print(letters[:3]) print(letters[3:]) print(letters[:]) copy = letters[:] pri..
더보기