Initialize user input 2 times for width and height. Use a for-loop with a range of 4. Call the left and forward functions within the loop. Draws a square with the calculated user output you typed in.
The user enters a length for the square. Go forward that length and turn left 90 degrees. repeat the previous two sentences 3 more times thus completing the square. Joe Haj
User inputs length of side(integer).
ReplyDeleteDraw line the length indicated and turn right 90 degrees.
Repeat 3 more times.
-Katelyn
Chris VanYe
ReplyDeleteinput a value for x
four times:
go forward x
turn right
Create for I in range loop.
ReplyDeletetell it to repeat 4 times.
tell it to draw four edges.
jonathan
Asks for side length
ReplyDeleteloop
forward (input)
left 90
User inputs length.
ReplyDeleteDraws one side. Turns Left 90 degrees. Repeats moving and turning three more times.
-Ben
1.set the input for user, length and side
ReplyDelete2.set the length and side in to the value of forward
3.set the turning angle
Charlie Lin
Initialize user input 2 times for width and height.
ReplyDeleteUse a for-loop with a range of 4.
Call the left and forward functions within the loop.
Draws a square with the calculated user output you typed in.
- Abby Peterson
The program asks for the code. Then it will insert the code. Then it will draw a square with the length the user inputted
ReplyDelete-Sean.
set the in put for length and side.
ReplyDeleteset the in put for length and side forward.
and angle make 90 degree.
Lux lei
user inputs langht
ReplyDeleteuser inputs hieth
for i in range (2)
forward (langht)
left (90)
forward (hight)
left (90)
- Owen Luther
The program asks for code. It will then go forward. After that, it will turn at 90 degrees on a 4 loop. Alex Haston.
ReplyDelete-The length of the square
ReplyDelete-turn the left
-draw the square
-Gary Gao
The user enters a length for the square. Go forward that length and turn left 90 degrees. repeat the previous two sentences 3 more times thus completing the square.
ReplyDeleteJoe Haj
for 4 times
ReplyDeletedraw the line length indicated
turn 90
~Travis Vonheeder