[go: up one dir, main page]

Skip to content

Commit

Permalink
Merge pull request geekcomputers#830 from Devansh2005/Heart-Turtle
Browse files Browse the repository at this point in the history
Heart turtle
  • Loading branch information
geekcomputers authored Sep 25, 2020
2 parents 8baf6ae + 4812cf5 commit 8152cc2
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Digital Clock/digital_clock.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ def dig_clock():
# to update the time display as needed
# could use >200 ms, but display gets jerky

Heart-Turtle
label.after(200, dig_clock)
=======
label.after(200, dig_clock)
master

dig_clock()

Expand Down
Binary file added bankmanaging.db
Binary file not shown.
Empty file added data.db
Empty file.
2 changes: 1 addition & 1 deletion helloworld.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
# in c -> printf("Hello World!");
# in java -> System.out.println("Hello World!");
# in c++ -> cout << "Hello World";
# in javascript - > console.log("Hello World");
# in javascript - > console.log("Hello World");
20 changes: 20 additions & 0 deletions love_turtle.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import turtle
t= turtle.Turtle()
turtle.title("I Love You")
screen= turtle.Screen()
screen.bgcolor("white")
t.color("red")
t.begin_fill()
t.fillcolor("black")

t.left(140)
t.forward(180)
t.circle(-90, 200)

t.setheading(60) # t.left
t.circle(-90, 200)
t.forward(180)

t.end_fill()
t.hideturtle()

0 comments on commit 8152cc2

Please sign in to comment.