Introduction to Programming Using Python

Introduction To Programming Using Python

Authors: Y Daniel Lang
ISBN: 978013274719
Edition: 6
Chapter: To Computers Programs And Python
Exercise: Programming Excercises
Question: 17

 

Question by Trueman on 25 Dec, 2018 at 02:06 PM

(Turtle: draw a line) Write a program that draws a red line connecting two points (-39, 48) and (50, -50) and displays the coordinates of the two points, as shown in Figure 1.19b.

a line is drawn in (b)

Extend your hand to students and help them to get better grades.