Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 데이터 타입의 우선순위
- stringr
- vector 연산
- 데이터 타입
- Data Structure
- scraping
- seq
- 네이버 영화 댓글
- TXT
- Crawling
- factor
- CSV
- REP
- 변수 선언
- c()
- length
- 연습문제
- data frame
- R 개요
- 함수
- Names
- R 기초
- 정규표현식
- 스크래핑
- 데이터 입출력
- 문자열처리
- ROTTEN TOMATOES
- vector 비교
- :
- working directory
Archives
- Today
- Total
목록Python/1. Python 기초 (1)
study blog
논리연산자(and, or, not), 비교연산자, 제어문(if, for, while)
1. 논리연산자 : and, or, not result = True and False # False result = True or False # True result = not True # False result = True|False # True 2. 비교연산자 : & (bitwise연산) - python에서 숫자 0은 False로 간주, 0이 아닌 모든 숫자 True로 간주 - python에서 False는 숫자 0으로 변환 가능. True는 1로 변환 가능 10진수 5 → 2진수 0101 10진수 1 → 2진수 0001 &는 bit 연산! (논리연산 X) True & False → 1 & 0 → 0001 & 0000 → 0000 → 0 (False) print(bool(0)) # False print..
Python/1. Python 기초
2020. 1. 26. 16:40