File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11731173 " 하지만 예를 들어 `y=2`인 경우엔 결과가 다르다."
11741174 ]
11751175 },
1176+ {
1177+ "cell_type" : " code" ,
1178+ "execution_count" : 1 ,
1179+ "metadata" : {},
1180+ "outputs" : [
1181+ {
1182+ "name" : " stdout" ,
1183+ "output_type" : " stream" ,
1184+ "text" : [
1185+ " 나머지가 2\n "
1186+ ]
1187+ }
1188+ ],
1189+ "source" : [
1190+ " y = 2\n " ,
1191+ " x = y % 5\n " ,
1192+ " \n " ,
1193+ " if x == 0:\n " ,
1194+ " print('나머지가 0')\n " ,
1195+ " elif x == 1:\n " ,
1196+ " print('나머지가 1')\n " ,
1197+ " elif x == 2:\n " ,
1198+ " print('나머지가 2')\n " ,
1199+ " else:\n " ,
1200+ " print('기타 등등')"
1201+ ]
1202+ },
11761203 {
11771204 "cell_type" : " code" ,
11781205 "execution_count" : 6 ,
22192246 "name" : " python" ,
22202247 "nbconvert_exporter" : " python" ,
22212248 "pygments_lexer" : " ipython3" ,
2222- "version" : " 3.12 .12"
2249+ "version" : " 3.13 .12"
22232250 }
22242251 },
22252252 "nbformat" : 4 ,
You can’t perform that action at this time.
0 commit comments