Presentation is loading. Please wait.

Presentation is loading. Please wait.

Intelligent Data Systems Lab. Department of Computer Science & Engineering Practices 컴퓨터의 개념 및 실습 4 월 4 일.

Similar presentations


Presentation on theme: "Intelligent Data Systems Lab. Department of Computer Science & Engineering Practices 컴퓨터의 개념 및 실습 4 월 4 일."— Presentation transcript:

1 Intelligent Data Systems Lab. Department of Computer Science & Engineering Practices 컴퓨터의 개념 및 실습 4 월 4 일

2 컴퓨터의 개념 및 실습 Graphics.py Rename as graphics.py Move it to your python installation dir./Lib

3 컴퓨터의 개념 및 실습 Practice 1 Write a program that draws winter scene with a Christmas tree and a snowman.

4 컴퓨터의 개념 및 실습 Practice 2 Write a program that draws 6 dice on the screen depicting a straight (1, 2, 3, 4, 5, 6)

5 컴퓨터의 개념 및 실습 Practice 3 An archery target consists of central circle of yellow surrounded by con-centric rings of red, blue, black and white. Each ring has the same “width,” which is the same as the radius of the yellow circle. Write a program that draws such a target. Hint: Objects drawn later will appear on top of objects drawn earlier.

6 컴퓨터의 개념 및 실습 Practice 4 Rectangle Information. This program displays information about a rectangle drawn by the user. Input: Two mouse clicks for the opposite corners of a rectangle. Output: Draw the rectangle. Print the perimeter and area of the rectangle. Formulas: area = (length)(width) perimeter = 2(length + width)


Download ppt "Intelligent Data Systems Lab. Department of Computer Science & Engineering Practices 컴퓨터의 개념 및 실습 4 월 4 일."

Similar presentations


Ads by Google