File tree Expand file tree Collapse file tree 1 file changed +12
-46
lines changed
Expand file tree Collapse file tree 1 file changed +12
-46
lines changed Original file line number Diff line number Diff line change 10801080 },
10811081 {
10821082 "cell_type" : " markdown" ,
1083- "id" : " 3a56643b " ,
1083+ "id" : " 991ab59d " ,
10841084 "metadata" : {},
10851085 "source" : [
10861086 " ### Exercise\n " ,
10871087 " \n " ,
1088- " Write an appropriately general set of functions that can draw shapes like this."
1089- ]
1090- },
1091- {
1092- "cell_type" : " code" ,
1093- "execution_count" : 57 ,
1094- "id" : " be86eb71" ,
1095- "metadata" : {
1096- "tags" : []
1097- },
1098- "outputs" : [],
1099- "source" : [
1100- " from IPython.display import SVG, display\n " ,
1101- " display(SVG(url='https://github.com/AllenDowney/ThinkPython/raw/v3/jupyturtle_pie.svg'))"
1102- ]
1103- },
1104- {
1105- "cell_type" : " markdown" ,
1106- "id" : " feae252c" ,
1107- "metadata" : {},
1108- "source" : [
1088+ " Write an appropriately general set of functions that can draw shapes like this.\n " ,
1089+ " \n " ,
1090+ " \n " ,
1091+ " \n " ,
11091092 " Hint: Write a function called `triangle` that draws one triangular segment, and then a function called `draw_pie` that uses `triangle`."
11101093 ]
11111094 },
11421125 {
11431126 "cell_type" : " code" ,
11441127 "execution_count" : null ,
1145- "id" : " f8cbf549 " ,
1128+ "id" : " c519ca39 " ,
11461129 "metadata" : {
11471130 "tags" : []
11481131 },
11731156 },
11741157 {
11751158 "cell_type" : " markdown" ,
1176- "id" : " e35f613a " ,
1159+ "id" : " 9c78b76f " ,
11771160 "metadata" : {},
11781161 "source" : [
11791162 " ### Exercise\n " ,
11801163 " \n " ,
1181- " Write an appropriately general set of functions that can draw flowers like this."
1182- ]
1183- },
1184- {
1185- "cell_type" : " code" ,
1186- "execution_count" : 58 ,
1187- "id" : " c8095531" ,
1188- "metadata" : {
1189- "tags" : []
1190- },
1191- "outputs" : [],
1192- "source" : [
1193- " from IPython.display import SVG, display\n " ,
1194- " display(SVG(url='https://github.com/AllenDowney/ThinkPython/raw/v3/jupyturtle_flower.svg'))"
1195- ]
1196- },
1197- {
1198- "cell_type" : " markdown" ,
1199- "id" : " 7c665dd1" ,
1200- "metadata" : {},
1201- "source" : [
1164+ " Write an appropriately general set of functions that can draw flowers like this.\n " ,
1165+ " \n " ,
1166+ " \n " ,
1167+ " \n " ,
12021168 " Hint: Use `arc` to write a function called `petal` that draws one flower petal."
12031169 ]
12041170 },
12401206 {
12411207 "cell_type" : " code" ,
12421208 "execution_count" : null ,
1243- "id" : " 8e92df6f " ,
1209+ "id" : " 04193da5 " ,
12441210 "metadata" : {
12451211 "tags" : []
12461212 },
You can’t perform that action at this time.
0 commit comments