일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- SQL
- 태블로 자격시험 독학
- 태블로 신병훈련소
- 태블로 독학
- 태블로 신병 훈련소 11기
- 알약 모양
- 태블로 자격증 독학
- 태블로독학
- Python
- 태블로
- 태블로 집합
- 태블로초보
- 태블로 신병훈련소 후기
- 태블로신병훈련소
- 태블로 씹어먹기
- 태블로 자격시험
- TABLEAU Certificate
- 범프차트
- coursera
- 데이터 시각화
- 빅데이터분석기사
- python udemy
- 태블로 신병 훈련소 후기
- 태블로 데스크탑
- 태블로 신병 훈련소
- 태블로 무료 강의
- 태블로 리뷰
- CourseraSQL
- tableau
- 태블로 신병 훈련소 10기
- Today
- Total
하루에 하나씩
[Python] 2. Expressions 본문
Constants
- Fixed values such as numbers, letters, and strings, are called "constants" because their value does not change
- Numeric constants are as you expect -- 123, 34.1
- String constants use single quotes or double quotes -- ('), (")
Reserved Words
- You cannot use reserved words as variable names/ identifiers
Variables
- A variable is a named place in the memory where a programmer can store data and later retrieve the data using the variable "name"
- Programmers get to choose the names of the variables
- You can change the contents of a variable in a later statement
Python Variable Name Rules
Must start with a letter or underscore_
Must consist of letters, numbers, and underscores
Case Sensitive
Sentences or Lines
*Recommend using a mnemonic variable name for human
Assignment Statement
We assign a value to a variable using the assignment statement(=)
An assignment statement consists of an expression on the right-hand side and a variable to store the result
'Python' 카테고리의 다른 글
Python Basic - 02-Python Crash Course Exercises (0) | 2023.10.01 |
---|---|
Python basic - Function & Method (0) | 2023.08.14 |
Python Basic - Comparison operator & Logic operator (0) | 2023.08.14 |
Python basic - .format & List & Tuples & Dictionaries (0) | 2023.08.13 |
[Python] 1. Python3, Editor 설치와 터미널 사용하기 (0) | 2023.01.03 |