Question

How to draw the number "95" on python 3.8.5 using turtle but cannot use turtle.write( )...

How to draw the number "95" on python 3.8.5 using turtle but cannot use turtle.write( ) or print( )
Comment the code please.

Homework Answers

Answer #1

Answer:- Code

from turtle import *  # For import turtle library
space=Screen()        # For individual screen(canvas) for turtle
turtle=Turtle()       # Assign turtle to Turtle

# For Drawing 9 in canvas
turtle.circle(-40,450)    # For Drawing circle for upper part of 9, We take rotation of turtle till 450 degree(360+90).
turtle.fd(70)             # forward 70, to gap between complete circle and semi-cirle
turtle.circle(-40,180)    # To draw semi-circle till 180 degree of radius 40.


# Pen Up and Down condition, For both digits are in same line.
turtle.pu()               # Pen UP
turtle.fd(110)            # Forward 110
turtle.rt(90)             # Right 90 degree
turtle.fd(170)            # Forward 170
turtle.pd()               # Pen Down


#For Drawing 5 in canvas.
turtle.bk(65)             # Backward 65 to draw upper line of 5.
turtle.rt(90)             # Right 90 degree
turtle.fd(60)             # Forward 110, For down line in 5.
turtle.lt(90)             # left 90 degree
turtle.fd(25)             # Forward 110
turtle.circle(-40,180)    # To draw semi-circle till 180 degree of radius 40, for circular part of 5.
turtle.fd(25)             # Forward 25.

Output:-

Running on Online Python Platform [(repl.it) with turtle IDE]

If you need any help in understanding, Please comment your query.

I tried my best for this question. I hope you like my answer.

Thank You

Know the answer?
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
Similar Questions
Python Function: How to format phone number "9293827827" to "(929) 382-7827 in python. My code so...
Python Function: How to format phone number "9293827827" to "(929) 382-7827 in python. My code so far: phone_number = input("Enter phone number (numbers only): ") phone_number_formatted = ?????? print(phone_number_formatted)
Python Programming Q : Please solve the problem.   ************* my grade ************* ****performance records***** print() 95-100:...
Python Programming Q : Please solve the problem.   ************* my grade ************* ****performance records***** print() 95-100: A+      90- 94: A 95-89: B+ ************** print() Your grade is B+.
Lagrange Interpolation polynomial using python of degree 3 I understand the math for the question I...
Lagrange Interpolation polynomial using python of degree 3 I understand the math for the question I cannot seem to get the correct python code please help with python to solve For f (x) = x ln(x), (1) use appropriate Lagrange interpolating polynomial of degree three to approximate f(8.4). Use the following data: f(8.1) = 16.94410, f(8.3) = 17.56492, f(8.6) = 18.50515, f(8.7) = 18.82091. (2) use appropriate Newton interpolation polynomial again to redo the work. Everything has to be done...
Write a program to input 6 numbers. After each number is input, print the biggest of...
Write a program to input 6 numbers. After each number is input, print the biggest of the numbers entered so far. Please use python and include a screenshot that the code is running. Please use simple code as I am only a high school student.
Wtite a Python script to print a range of alphabetic characters ‘a’ to ‘z’ using the...
Wtite a Python script to print a range of alphabetic characters ‘a’ to ‘z’ using the custom range() function. You will need to use the ASCII character value and then convert the ASCII value to a alphabetic letter using a chr() function. Expected Output (submit code and output): Generate the characters from a to z, inclusive.
I am trying to print an essay in my python code but the words keep getting...
I am trying to print an essay in my python code but the words keep getting cut over two lines. How can i fix this using python code so that it is formatted nicely? thanks
Using Python (pandas as pd) I am trying to use the split, apply, combine method but...
Using Python (pandas as pd) I am trying to use the split, apply, combine method but am getting an "invalid syntax" error at the end of the line that says "for days_name, days_df in grouped_by_day" I declared grouped_by_day in the split function but did not get any errors so I am not sure what happened or how to fix it. Below is a copy of the split, apply, combine section of my code. mean_data_ser = pd.Series() #split grouped_by_day= days_df.groupby("Day of...
                         Using Python 3.8 I have this function: Which prints this: But I need to use...
                         Using Python 3.8 I have this function: Which prints this: But I need to use a for loop and a join with 3 or 4 spaces to have it print like this: .    .    .    .    . .    .    .    .    . .    .    .    .    . .    .    .    .    . .    .    .    .    .
Using the code as an example, explain why Python is a fixed format programming language. Describe...
Using the code as an example, explain why Python is a fixed format programming language. Describe what would be output for each of the print statements in the code listing.- Given the difference in output, explain the different roles of readLine(), readLines(), and read() functions. with open("rainfall.txt","r") as inFile:    aLine = inFile.readLine() with open("rainfall.txt", "r") as inFile:   lineList = inFile.readLines() with open("rainfall.txt", "r") as inFile:   fileString = inFile.read()) print(aLine) print(lineList) print(fileString)
How do I code these in Python? My final result should be "Monday 4" day =...
How do I code these in Python? My final result should be "Monday 4" day = Monday square = 2 ^ 2 print (square) print(day + square)
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT