Skip to content

Commit dd5eda2

Browse files
committed
Merge branch 'master' of https://github.com/xinyinghou/py4e-int
2 parents 07d49ed + f2d223c commit dd5eda2

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

_sources/iterations/Exercises.rst

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ Multiple Choice Questions
391391
for j in range(1,4):
392392
print(i, j, end=' ')
393393

394-
.. mchoice:: e5mc16
394+
.. mchoice:: e5mc16-v2
395395
:practice: T
396396
:answer_a: 1018
397397
:answer_b: 1009
@@ -416,8 +416,4 @@ Multiple Choice Questions
416416
total += num
417417
return total
418418
419-
mystery([8, 2, 999, 5, 4])
420-
421-
422-
423-
print(mystery("walking"))
419+
print(mystery([8, 2, 999, 5, 4]))

_sources/turtles/turtleFAP.rst

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ The program below uses the ``goto(x,y)`` to move to the top left corner before d
143143
:numbered: left
144144
:adaptive:
145145

146-
The following program uses a turtle to draw a capital A as shown in the picture below, but the lines are mixed up. The program should do all necessary set-up: import the turtle module, get the screen/space to draw on, and create the turtle. It should draw the lines in the order shown by the numbers in the picture on the left. Drag the needed blocks of statements from the left column to the right column and put them in the right order. There may be additional blocks that are not needed in a correct solution. Then click on *Check* to see if you are right. You will be told if any of the lines are in the wrong order or are the wrong blocks.
146+
The following program uses a turtle to draw a capital A as shown in the picture below, but the lines are mixed up. The program should do all necessary set-up: import the turtle module, get the screen/space to draw on, and create the turtle. It should draw the lines in the order shown by the numbers in the picture on the left. Drag the needed blocks of statements from the left column to the right column and put them in the right order. There may be additional blocks that are not needed in a correct solution.
147147

148148
.. image:: Figures/DrawABig.png
149149
:width: 240px
@@ -152,12 +152,10 @@ The program below uses the ``goto(x,y)`` to move to the top left corner before d
152152
from turtle import *
153153
=====
154154
space = Screen()
155-
=====
156-
space = screen() #paired
157-
=====
158155
ella = Turtle()
159156
=====
160-
ella = Turtle #paired
157+
space = screen()
158+
ella = turtle() #paired
161159
=====
162160
ella.left(60)
163161
ella.forward(100)

0 commit comments

Comments
 (0)