Question: 6 . 4 Rotating tardis 4 1 4 2 4 3 4 4 - def onStep ( ) : # Move the Tardis right by
Rotating tardis
def onStep:
# Move the Tardis right by pixels, rotate it clockwise degrees, and # increase the size by
## Place Your Code Here ###
tardis. center
tardis. rotateAngle
tardis. width
# If the width of the Tardis reaches pixels make the Tardis upright,
# reset the width and height to and and center the Tardis
# vertically in the canvas.
### Place Your Code Here ###
if tardis width :
tardis, center app. height
tardis. height
tardis. width
tardis. rotateAngle
# Implement wraparound.
if tardis left :
tardis. right
#### Place your code above this line, code below is for testing purposes #### # test case:
onstep
app. paused True
Checklist
I need help with the part with the center of the tardis vertically in the canvas
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
