Question

The following is the code for using Tuturle in Python to write J A T I...

The following is the code for using Tuturle in Python to write J A T I

I have written A T I

Please help me write J before A.

Everything else is written. Thank you.

import turtle

from turtle import*


#A

pd()

rt(120)

fd(110)

lt(180)

fd(110)

rt(120)

fd(110)

lt(180)

fd(55)

lt(60)

fd(70)

lt(180)

pu()

fd(130)

fd(50)

pd()

# T

lt(90)

back(50)

fd(100)

lt(90)

fd(50)

lt(180)

fd(100)

pu()

fd(50)

#I

pendown()

left(90)

back(100)

right(100)

penup()

forward(50)















0 0
Add a comment Improve this question Transcribed image text
Answer #1

Here is the completed code for this problem. Just added code to draw J before A, no other changes are made. Comments are included, go through it, learn how things work and let me know if you have any doubts or if you need anything to change. If you are satisfied with the solution, please rate the answer. Thanks

Note: Please maintain proper code spacing (indentation).

from turtle import *

# J

pd() #pen down
rt(90) #facing down
fd(20) #forward 20 spaces
lt(90) #facing right
fd(50) #forward 50 spaces
lt(90) #facing up
fd(100) #forward 100 spaces
rt(90) #facing right
bk(50) #backward 50 spaces
fd(100) #forward 100 spaces to complete J

#pen up
pu()
#forward 50 spaces to position turtle to draw A
fd(50)




# A

pd()

rt(120)

fd(110)

lt(180)

fd(110)

rt(120)

fd(110)

lt(180)

fd(55)

lt(60)

fd(70)

lt(180)

pu()

fd(130)

fd(50)

pd()

# T

lt(90)

back(50)

fd(100)

lt(90)

fd(50)

lt(180)

fd(100)

pu()

fd(50)

# I

pendown()

left(90)

back(100)

right(100)

penup()

forward(50)

#OUTPUT

Add a comment
Know the answer?
Add Answer to:
The following is the code for using Tuturle in Python to write J A T I...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Please help with this python turtle problem using the functions provided. Python Turtle Write a program...

    Please help with this python turtle problem using the functions provided. Python Turtle Write a program using the turtle module to draw the face of a clock that looks like the image below. You will need to use the turtle module for this exercise as well as the bgcolor), shape(), color), penup), right(), forward(), pendown(), and stamp() functions. The code below can be removed or changed as needed. import turtle t turtle.Turtle0 t.forward(75)

  • Hi, can you help me add these requirements in my Turtle python program. The program is...

    Hi, can you help me add these requirements in my Turtle python program. The program is supposed to run an Olympics skating game. The program is below the requirements. Thanks Requirements -Your race will be random generated so each time there is a possibility that a different winner. -Have a countdown of “READY” “SET” “GO” appear on the screen and then the turtles take off. -Have the program tell the winner[s]. -Award Medals. -User may guess who will win. -Allow...

  • Hi y’all this is python 3.7 I am new so please explain how code works Untitled...

    Hi y’all this is python 3.7 I am new so please explain how code works Untitled - Notepad File Edit Format View Help #3.4.3. study the following program, and then reorganize it with a #main function that calls one or more other functions. #Your main function should be very short: create a turtle, #call your functions, and then wait for a mouse click. #Document your program with appropriate doc strings and comments. #import turtle #george turtle . Turtle() #george ....

  • i have to write a python code for my name "Guimard" using turtle i want a...

    i have to write a python code for my name "Guimard" using turtle i want a better way to write this code but i dont know how

  • Instructions: Write the structure of each molecular formula using the IR and Mass Spec spectra. Important...

    Instructions: Write the structure of each molecular formula using the IR and Mass Spec spectra. Important that you justify with at least two arguments in each spectrum for which you present that structure. CH 3500 3000 1500 1000 2500 2000 Wavenumber(cm-1) 20 30 40 50 60 70 80 90 100 110 120 CHBr 100 Transmittance 3500 3000 2500 2000 Wavenumber(cm-1) 1500 1000 119 135 100 110 120 130 140 150 160 170 180 190 10 20 30 40 50 60...

  • I need help with this code, I have it started here import sys import turtle menu...

    I need help with this code, I have it started here import sys import turtle menu = "Press 1 for Flower" UserChoice = input(menu) #function to draw squares def draw_square(square): for i in range(0,2): square.forward(100) square.right(70) square.forward(100) square.right(110) #function to draw flower def draw_flower(petalNumber): window = turtle.Screen() window.bgcolor("yellow") pen = turtle.Turtle() pen.shape("triangle") pen.color("red")    for number in range(0,petalNumber): draw_square(pen) pen.right(360/petalNumber) for i in range(0,4): pen.circle(20) pen.right(90)    pen.right(90) pen.forward(300) pen.right(90) draw_square(pen) pen.left(180) draw_square(pen) pen.left(270) pen.forward(200) window.exitonclick() #function for original art...

  • Please solve for me those exercises using Python (with turtle) this is example 4 Exercises: Exercise...

    Please solve for me those exercises using Python (with turtle) this is example 4 Exercises: Exercise 1: Run example 4 with values for L 100, 200, and 300. Exercise 2: Change the code in exercise 1 by assigning a variable to the angle. Exercise 3: Draw a bedroom using variables for length and width. Exercise 4: Identify correct data type to work on the following information. Employee Salary Student mark Product supplier address Student subject and mark Country, capital and...

  • MUST BE IN PYTHON!!!! PLEASE HELP WITH NUMBER 10 & 11A & 11B!!! WIILL VOTE UP!!!...

    MUST BE IN PYTHON!!!! PLEASE HELP WITH NUMBER 10 & 11A & 11B!!! WIILL VOTE UP!!! F=False boolExprs = [T and F, T or F, T and T, F or F trueCount = 0 for expr in boolExprs: if expr: trueCount += 1 print (trueCount) a. 1 b. 2 c. 3 d. 4 e. None of the above Question 10 import tu1rtle s turtle.Screen () t turtle. Turtle () for i in range 4) if i%2 = 1: t.down )...

  • Answer must be in Python 3 Answer: import turtle def trifecta(size,angle,num): for i in range(num): tri(t,size)...

    Answer must be in Python 3 Answer: import turtle def trifecta(size,angle,num): for i in range(num): tri(t,size) t.right(angle) t = turtle.Turtle() s = turtle.Screen() trifecta(100,25,5) Question 11 Part b (10 points) Write a function named trifecta() that takes three parameters: 1. size 2. angle 3. num trifecta() should call tri() repeatedly so as to draw num triangles, each with sides of length size. Each triangle should be oriented angle degrees clockwise from the preceding triangle. trifecta() should create a turtle and...

  • Greetings everyone I need of your help. Converting this basic code into matlab code in order...

    Greetings everyone I need of your help. Converting this basic code into matlab code in order to complete the table below please. Thank you. I will give a good rating 100 J1 110 N = N + 1 120 IF RND > N/365 THEN 110 130 MM+N+1 140 PRINT J, N +1, M/3 150 N- 0 160 JJ 1 170 GOTO 110 Before running the simulation, estimate the long-run average here: Number Questioned in this Experiment Average Number Questioned per...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT