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...
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.
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.
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)
                         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: .    .    .    .    . .    .    .    .    . .    .    .    .    . .    .    .    .    . .    .    .    .    .
Write a python code to print (any given file) file as a csv format by using...
Write a python code to print (any given file) file as a csv format by using MRJob only. code must be able to run stand-alone MRJob application. For submission to your work: Your final hand should be a single file name BDM.py that takes exactly one arguments for the input path. output will be handled through redirection. Sample run: python BDM.py sample.csv > output.csv
Q1) Write a Python function partial_print, which takes one parameter, a string, and prints the first,...
Q1) Write a Python function partial_print, which takes one parameter, a string, and prints the first, third, fifth (and so on) characters of the strings, with each character both preceded and followed by the ^ symbol, and with a newline appearing after the last ^ symbol. The function returns no value; its goal is to print its output, but not to return it. Q2) Write a Python function called lines_of_code that takes a Path object as a parameter, which is...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT