Give your artwork a name and print the name to the output

Assignment Help Python Programming
Reference no: EM132355110

Question

This assignment is called creating functions

Give your artwork a name. Print the name to the output

Draw a picture using the turtle. You can pick the subject of your picture. Some suggestions include a house, a car, a face, a robot.

At least two programmer-defined functions must be used.

Use at least one color apart from black.

The picture should include color.

Insert your pseudocode here:

Part Two: Code the program. Use the following guidelines to code your program..

To code the program, use the Python IDLE.

Using comments, type heading that includes your name, today's date, and a short description of the program.

Follow the Python style conventions regarding indentation and the use of white space to improve readability.

Use meaningful variable names.

This is what you have you know its wrong.....

#bob the triangle

import turtle

bob = turtle.Turtle()

for i in range(20):

print("i="+str(i))

bob.forward(i* 10)

bob.right(120)

bob.color("blue")

bob.speed(10)

turtle.done()

Reference no: EM132355110

Questions Cloud

Demonstrate corporate social responsibility : Read the Forbes article The Difference between Coaching and Mentoring. Coaching and mentoring are both functions of HRM. Many of the characteristics.
Explain the elements you would include in your business plan : Summarize your chosen model, and explain the elements you would include in your business plan and why? Cite and reference your resources.
How do you see a decision support system aiding business : How do you see a decision support system aiding business? How can it be detrimental? Which one of the three: Decision Support, Executive Support and Group.
Conduct a personnel training session : BSBPMG515 - Conduct a personnel training session. (Present) Your assessor and at least one other student will roleplay the staff members you have selected.
Give your artwork a name and print the name to the output : Using comments, type heading that includes your name, today's date, and a short description of the program. Follow the Python style conventions .
Print a message that clearly displays the users pizza size : Write both the input statement that prompts the user for the pizza size and the print statement that clearly displays the output message related to pizza size.
Find the approximate sample size : Find the approximate sample size that will produce the desired accuracy of the estimate. You wish to be conservative to ensure that the sample size
What is the probability that exactly two pay : Assume that 45% of U.S. households pay their bills online. If seven U.S. households are randomly selected, then what is the probability that exactly two pay the
What is one way interpreted programming languages differ : When writing a for loop in Python, programmers assign a numeric range to tell the loop where to start, how many times to repeat, and when to stop.

Reviews

Write a Review

Python Programming Questions & Answers

  What would happen if the script fails to open password file

You have been hired by a company to provide consultation on security and provide recommendations. Using Microsoft® Word, write a 1-page document explaining.

  How a vertical scroll bar is associated with a list box

What are instance variables, and what role does the name ‘self' play in the context of a class definition. Describe how a vertical scroll bar is associated with a list box.

  Construct a python function that returns title case version

Construct a python function that returns the title case version of a string, according to the rules above. Only use upper function and not title function

  What is the average size of each color diamond

Using pandas and the diamonds data set from class - What is the average size of each color diamond. Plot the density of the prices

  In this assignment you will write a program that does

in this assignment you will write a program that does simple packet routing. your program will take three command-line

  Write a python code to guess the number for given problem

They have only 5 times to enter the right value. After five time, if they still haven't guessed the number, show them the right number.

  Function should return a dictionary

Write a function numOccur(s), where s is a string; the function should return a dictionary whose keys are the 26 ascii letters abcdefghijklmnopqrstuvwxyz

  Write a python script for the ice cream ordering system

ICT702 : Write a Python script for the ice cream ordering system.Your program must store the prices of the individual items (cones, scoop flavours and toppings)

  Modify your code to ask the user for the id of a restaurant

Copy check1.py to check2.py and continue to work on check2.py. Modify your code to ask the user for the id of a restaurant between 1 and 155 (humans don't need to know about list ids starting at 0).

  Program that allows the user to enter the type of coin

Create a program that allows the user to enter the type of coin to be evaluated and the number of coins. The program should calculate the total weight of the coins and the height of the coins when stacked. Name the program coins.py. Use the table bel..

  Define and test these two python functions

Define and test these two Python functions. You must use recursion to define them: you are not allowed to use loops or local variables.

  Write a program that prompts the user to enter a point

Write a program that prompts the user to enter a point with x- and y- coordinates and determines whether the point is inside the triangle.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd