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 ~ )

  • 분류 전체보기 (45)
    • 리눅스 관련 (3)
      • 리눅스 실전 정복 (FastCampus) (1)
    • 기본 카테고리 (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/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

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바