본문 바로가기

꼬물꼬물 개발자

검색하기
꼬물꼬물 개발자
프로필사진 한고운

  • 분류 전체보기 (22)
    • 백엔드 개발 (13)
      • Node.js 교과서 (0)
    • AI 개발 (0)
      • 모두의 딥러닝 (0)
      • 개발자를 위한 머신러닝&딥러닝 (0)
    • Python (7)
    • HTML,CSS,JavaScript (0)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2024/08   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Tags
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록2024/08/31 (1)

꼬물꼬물 개발자

list, tuples, dictionary

# listday_of_week = ["Mon", "Tue", "Wed", "Thu", "Fri"]print(day_of_week[2])day_of_week.append("sun")print(day_of_week)day_of_week.remove("sun")print(day_of_week)day_of_week.clear()print(day_of_week)# Tuples : 불변days = ("Mon", "Tue", "Wed", "Thu", "Fri")print(days[-1])# dictionary : kdy - value 키-값 player = {  'name': 'gowoon',  'age': 42,  'alive': True,  'fav_food': ["피자", "햄버거"]}print(player)..

Python 2024. 8. 31. 04:28
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바