IT블로그(2021-09-13 ~ )

  • 홈
  • 태그
  • 방명록

Python/Introduction to python (Sololearn) 2

[Introduction to python] Function

List Functions The append() function is used to add an item to the end of the list: nums = [1, 2, 3] nums.append(4) print(nums) => [1, 2, 3, 4] - insert() inserts a new item at the given position in the list: words = ["Python", "fun"] words.insert(1, "is") print(words) => ['Python', 'is', 'fun'] - index() finds the first occurrence of a list item and returns its index. letters = ['p', 'q', 'r', ..

Python/Introduction to python (Sololearn) 2023.01.27

[Introduction to python] ~ List

if ~: print() elif ~: print() else: print() ​ print(not 1==1) => False ​ #your code goes here BMI = float(input()) / float(input())**2 if BMI = 18.5 and BMI = 25 and BMI < 30: print("Overweight") else: print("Obesity") ​ ​ 리스트 print("abc" in str) str 리스트에 "abc'가 있다면 True 반환. ​ ​ for Loop A for loop can be used to iterate over..

Python/Introduction to python (Sololearn) 2023.01.27
이전
1
다음
프로필사진

IT블로그(2021-09-13 ~ )

백엔드 개발자 블로그(2021-09-13 ~ )

  • 분류 전체보기 (44)
    • 리눅스 관련 (2)
    • 기본 카테고리 (5)
    • Python (2)
      • Introduction to python (Sol.. (2)
    • FastCampus 강의 (4)
      • 한번에 끝내는 Java&Spring 웹 개발 (2)
      • Spring 완전판 초격차 패키지 (2)
    • "이것이 자바다" (7)
    • github & eclipse (2)
    • 데이터베이스(DB) (19)
      • Oracle DB SQL - 뉴렉처 youtube.. (15)
      • SQL 전문가 가이드 (3)
      • 트러블슈팅 (1)
    • HTML, CSS (1)

Tag

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

  2025. 06  
일 월 화 수 목 금 토
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

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바

개인정보

  • 티스토리 홈
  • 포럼
  • 로그인

단축키

내 블로그

내 블로그 - 관리자 홈 전환
Q
Q
새 글 쓰기
W
W

블로그 게시글

글 수정 (권한 있는 경우)
E
E
댓글 영역으로 이동
C
C

모든 영역

이 페이지의 URL 복사
S
S
맨 위로 이동
T
T
티스토리 홈 이동
H
H
단축키 안내
Shift + /
⇧ + /

* 단축키는 한글/영문 대소문자로 이용 가능하며, 티스토리 기본 도메인에서만 동작합니다.