본문 바로가기

흰둥이는 코드를 짤 때 짖어 (왈!왈!왈!왈!왈!왈!왈!왈!왈!왈!왈!)

검색하기
흰둥이는 코드를 짤 때 짖어 (왈!왈!왈!왈!왈!왈!왈!왈!왈!왈!왈!)
프로필사진 흰둥아솜사탕

  • 분류 전체보기 (132)
    • 파이썬 기초 (29)
    • MySQL (14)
    • HTML, CSS, JS (39)
    • Node.js (2)
    • 파이썬 데이터 분석 (13)
    • 파이썬 크롤링 (4)
    • 파이썬 머신러닝, 딥러닝 (17)
    • 과제 (11)
    • 시험 (3)
Guestbook
250x250
Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
일 월 화 수 목 금 토
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
  • fileinput
  • inplace()
  • randrange()
  • JS
  • mro()
  • __getitem__
  • View
  • shutil
  • choice()
  • HTML
  • count()
  • 파이썬
  • remove()
  • fnmatch
  • shuffle()
  • locals()
  • MySqlDB
  • glob
  • 오버라이딩
  • discard()
  • __annotations__
  • CSS
  • __sub__
  • MySQL
  • items()
  • __len__
  • Database
  • zipfile
  • node.js
  • decode()
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록while (1)

흰둥이는 코드를 짤 때 짖어 (왈!왈!왈!왈!왈!왈!왈!왈!왈!왈!왈!)

(파이썬) 반복문

1. 반복문 1-1. 자료형 참/거짓 판단하기 파이썬에서 사용하는 모든 자료형은 참 또는 거짓으로 표현이 가능 In [1]: bool1 = True print(bool1) print(type(bool1)) True In [6]: # 0 이 아닌 숫자는 모두 True, 0은 False num1 = 10 print(num1) print(type(num1)) print(bool(num1)) num2 = 0 print(num2) print(type(num2)) print(bool(num2)) 10 True 0 False In [10]: str1 = '안녕' print(str1) print(type(str1)) print(bool(str1)) str2 = '' print(str2) print(type(str2))..

파이썬 기초 2023. 3. 7. 16:02
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바