-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFish.py
More file actions
49 lines (44 loc) · 925 Bytes
/
Copy pathFish.py
File metadata and controls
49 lines (44 loc) · 925 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#-------------------------------------------------------------------------------
# Name: module2
# Purpose:
#
# Author: Wolverine
#
# Created: 28-07-2022
# Copyright: (c) Wolverine 2022
# Licence: <your licence>
#-------------------------------------------------------------------------------
import turtle
fish = turtle
fish.color('yellow')
fish.goto(0,0)
fish.speed(10)
fish.Screen().bgcolor("blue")
fish.left(45)
fish.forward(100)
fish.right(135)
fish.forward(130)
fish.right(130)
fish.forward(90)
fish.left(90)
fish.right(90)
fish.circle(200,90)
fish.left(90)
fish.circle(200,90)
fish.penup()
fish.left(130)
fish.forward(200)
fish.pendown()
fish.circle(10,360)
fish.right(270)
fish.penup()
fish.forward(50)
fish.pendown()
fish.left(90)
fish.circle(100,45)
fish.penup()
fish.forward(300)
fish.left(135)
fish.pendown()
fish.right(180)
fish.done()