age = int(input())
if age >= 8 and age <= 13:
    print("초등학생입니다")
elif age >= 14 and age <=  16:
    print("중학생입니다")
elif age >= 17 and age <= 19:
    print("고등학생입니다")
else:
    print("학생이아닙니다")

L = []

#추가하기
L.append(10)
L.append('가')
L.append('30')
print(L)

#삭제하기
L.remove('가')
print(L)

#원하는 위치에 추가
#.insert(위치, 원소)
L.insert(1, 20)
print(L)

#정렬하기
L2 = ['banana', 'apple', 'peach', 'lemom', 'kiwi']
L2. sort()
print(L2)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: