We're a community of 1076K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,075,752 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Turtle graphics

Hello,

I'm new and I was wondering how to do these things in python using turtle graphics... but don't know how to do it:

1.Write a program that draws a red line connecting two points (-39,48) and (50, -50) and displays the coordinates of the two points.

  1. How to draw a triangle like this in turtle:

http://s1263.photobucket.com/albums/ii636/maiden1291/?action=view&current=80390090.jpg

  1. Write a program that display the result of 4 X (1-1/3+1/5-1/7+1/9-1/11) and 4 X (1-1/3 + 1/5 -1/7+1/9-1/11+1/13-1/15)

please be nice... thanks.

2
Contributors
1
Reply
16 Hours
Discussion Span
8 Months Ago
Last Updated
4
Views
maiden128
Newbie Poster
1 post since Sep 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

There are many examples on the web so no reason to duplicate answers here. Start with this link:
http://www.daniweb.com/software-development/python/code/216557/turtle-graphics-python

woooee
Posting Maven
2,703 posts since Dec 2006
Reputation Points: 827
Solved Threads: 779
Skill Endorsements: 9

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.0520 seconds using 2.64MB