Computers and Technology, 20.12.2021 14:00 kimutaitanui2228
I need help with code hs python 5.7.5 Karel Move
So far we’ve seen the code that creates Karel’s World, and has Karel turn left.
YOUR JOB
Karel doesn’t know how to move! Since we aren’t using the built in Karel commands, we’ll have to make the image of Karel move using Python!
Your job is to implement the move() function.
You do not need to worry about running into walls.
You do not need to modify any of the other code function. The final result should have Karel move forward (east) twice, then move in a square. Karel should end on the first street, fourth avenue, facing south.
HINTS
Your move function should change the X_POS and Y_POS variable based on the direction that Karel is facing. For example, if direction is NORTH, then Karel should move in the negative y direction. If direction is SOUTH, then Karel should move in the positive y direction, etc.
Once you update the X_POS or Y_POS, you can then set a new position by calling the .set_position method.
Karel should move a distance of KAREL_SIZE.
in python
Answers: 1
Computers and Technology, 22.06.2019 15:30
Whats are the different parts of no verbal comunication, especially body language?
Answers: 3
Computers and Technology, 23.06.2019 15:00
Idon’t understand the double8 coding problem. it is java
Answers: 1
Computers and Technology, 23.06.2019 17:30
Write pseudocode to represent the logic of a program that allows the user to enter a value. the program multiplies the value by 10 and outputs the result.
Answers: 1
Computers and Technology, 24.06.2019 07:20
Ingrid started speaking about her slide presentation. when she clicked to th"third slide, which had just a picture of an elephant, she forgot what she wassupposed to talk about. what could ingrid do to avoid this situation in thefuture? oa. print handouts for her audience.ob. add presenter's notes to each slide.oc. add a video to each slide.od. save her slide presentation to a flash drive
Answers: 2
I need help with code hs python 5.7.5 Karel Move
So far we’ve seen the code that creates Karel’s W...
Mathematics, 25.08.2022 04:30
Advanced Placement (AP), 25.08.2022 22:50
SAT, 26.08.2022 09:00
Mathematics, 27.08.2022 03:10
Mathematics, 29.08.2022 04:40
History, 31.08.2022 14:00
Biology, 01.09.2022 05:00
Chemistry, 01.09.2022 18:20