Skip to content

Commit 7e46f17

Browse files
committed
Update strings-part2.ipynb
1 parent 1a3dcb4 commit 7e46f17

1 file changed

Lines changed: 7 additions & 101 deletions

File tree

strings-part2.ipynb

Lines changed: 7 additions & 101 deletions
Original file line numberDiff line numberDiff line change
@@ -11,92 +11,15 @@
1111
},
1212
{
1313
"cell_type": "markdown",
14-
"id": "764dd697-4200-4955-ae25-a2a97cfd221b",
14+
"id": "c3bfcac8",
1515
"metadata": {},
1616
"source": [
17-
"문자열은 포함된 문자와 기호의 순서를 중요하게 여기는\n",
18-
"**순차 자료형**<font size='2'>sequence type</font>이다.\n",
19-
"따라서 문자열의 항목으로 포함된 문자와 기호의 순서가 다르거나\n",
20-
"사용된 문자열의 길이가 다르면 서로 다른 문자열로 처리된다."
21-
]
22-
},
23-
{
24-
"cell_type": "code",
25-
"execution_count": 1,
26-
"id": "0147974b-7d66-4d07-9490-c26ade533e75",
27-
"metadata": {},
28-
"outputs": [
29-
{
30-
"data": {
31-
"text/plain": [
32-
"False"
33-
]
34-
},
35-
"execution_count": 1,
36-
"metadata": {},
37-
"output_type": "execute_result"
38-
}
39-
],
40-
"source": [
41-
"'ab' == 'ba'"
42-
]
43-
},
44-
{
45-
"cell_type": "code",
46-
"execution_count": 2,
47-
"id": "2b9a418d-7661-48f9-800b-0684d544bee5",
48-
"metadata": {},
49-
"outputs": [
50-
{
51-
"data": {
52-
"text/plain": [
53-
"False"
54-
]
55-
},
56-
"execution_count": 2,
57-
"metadata": {},
58-
"output_type": "execute_result"
59-
}
60-
],
61-
"source": [
62-
"'aa' == 'aaa'"
63-
]
64-
},
65-
{
66-
"cell_type": "markdown",
67-
"id": "09d97982-240c-4b61-bc8b-84b321c339b5",
68-
"metadata": {},
69-
"source": [
70-
"대소문자도 구별된다."
71-
]
72-
},
73-
{
74-
"cell_type": "code",
75-
"execution_count": 3,
76-
"id": "a1a03879-6724-4e1d-a5ed-26b13c075e08",
77-
"metadata": {},
78-
"outputs": [
79-
{
80-
"data": {
81-
"text/plain": [
82-
"False"
83-
]
84-
},
85-
"execution_count": 3,
86-
"metadata": {},
87-
"output_type": "execute_result"
88-
}
89-
],
90-
"source": [
91-
"\"python\" == \"Python\""
92-
]
93-
},
94-
{
95-
"cell_type": "markdown",
96-
"id": "9ab09208-368c-4899-b98e-bb4b06154633",
97-
"metadata": {},
98-
"source": [
99-
"순차 자료형으로서의 문자열을 다루는 다양한 기법을 살펴본다."
17+
":::{seealso}\n",
18+
"\n",
19+
"1. 본문 코드 실행: [(Google Colab) 문자열 2부](https://colab.research.google.com/github/codingalzi/code-workout-python/blob/master/strings-part2.ipynb)\n",
20+
"\n",
21+
"2. 연습문제 해답과 해설: [(연습) 문자열 2부](https://colab.research.google.com/github/codingalzi/code-workout-python/blob/master/practices/practice-strings-part2.ipynb)\n",
22+
":::\n"
10023
]
10124
},
10225
{
@@ -859,8 +782,6 @@
859782
"metadata": {},
860783
"source": [
861784
":::{list-table} 문자열 주요 메서드\n",
862-
":widths: 12 10 38\n",
863-
":header-rows: 1\n",
864785
":name: string-methods\n",
865786
"\n",
866787
"* - 기능\n",
@@ -902,21 +823,6 @@
902823
":::"
903824
]
904825
},
905-
{
906-
"cell_type": "markdown",
907-
"id": "b061a823-34f0-4f45-98e0-6f9e4f234615",
908-
"metadata": {},
909-
"source": [
910-
":::{admonition} 함수와 메서드의 반환값\n",
911-
":class: note\n",
912-
"\n",
913-
"함수와 메서드의 반환값으로 지정된 값은 변수에 저장하여\n",
914-
"언제 어디서든 활용할 수 있다.\n",
915-
"파이썬의 모든 함수는 반드시 반환값을 지정하도록 되어 있다.\n",
916-
"나중에 함수에 대해 배울 때 자세히 설명한다.\n",
917-
":::"
918-
]
919-
},
920826
{
921827
"cell_type": "markdown",
922828
"id": "9e615340-e4f5-4401-b3b1-bed59328a902",

0 commit comments

Comments
 (0)