Saved Bookmarks
| 1. |
The command used to set only the x coordinate of the turtle at 45 units is:(a) reset(45)(b) setx(45)(c) xset(45)(d) xreset(45) |
|
Answer» The correct choice is (b) setx(45) Explanation: The command setx(45) is used to set the x coordinate of the turtle. Similarly, the command sety() is used to set the y coordinate of the turtle. The function reset() takes two values as arguments, one for the x-coordinate and the other for the y-coordinate. |
|