Skip to content

Commit 402a14f

Browse files
authored
Update README.md
1 parent 4e80473 commit 402a14f

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

002/README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
- 일반적으로 프로그램이 하는 일을 설명하고 가독성을 높이기 위해 사용
77
- 프로그램의 실행 결과에 영향을 끼치지 않음
88
- 한 줄 주석 처리할 때 : #
9-
- 여러 줄을 주석 처리할 때 : ''' put comment here ''' 혹은 """ put comment here """
9+
- 여러 줄을 주석 처리할 때 : ''' comment ''' 혹은 """ comment """
1010

11-
> ''' put comment here ''' 혹은 """ put comment here """
12-
이 방식은 실제론 주석 처리가 아닌 put comment here 부분을 텍스트로 만드는 것이다.
11+
> ''' comment ''' 혹은 """ comment """
12+
이 방식은 실제론 주석 처리가 아닌 comment 부분을 텍스트로 만드는 것이다.
1313
-> 텍스트는 명령 코드가 아니기에 실행중에 영향미치지 않음.
1414

1515

@@ -197,6 +197,8 @@ python 으로 산술 예제 :
197197
- 큰 따옴표로 시작해서 작은 따옴표로 끝내면 문법적 오류
198198
- 따옴표가 문자열 내에서 사용될 경우를 대비하여 큰/작은 따옴표 둘다 지원
199199

200+
<br>
201+
200202
Example:
201203
~~~python
202204
>>> print('hello my name is "python"')
@@ -207,7 +209,10 @@ hello my name is "python"
207209
i want printing ('hello my name is "python"')
208210
>>>
209211
~~~
210-
#### 문자열의 연산
212+
213+
<br>
214+
215+
#### 문자열의 연산
211216
~~~python
212217
>>> a='hello'
213218
>>> a+' world!'
@@ -288,12 +293,14 @@ False
288293
True
289294
~~~
290295

296+
파이썬:
291297
|논리 연산자|결과|
292298
|:---|:---|
293299
|x or y|x 또는 y|
294300
|x and y|x 그리고 y|
295301
|not x|x가 아닌|
296302

303+
다른 언어:
297304
|논리 연산자|기호|예시|
298305
|:---|:---|:---|
299306
|or| &#124; | x &#124; y |

0 commit comments

Comments
 (0)