Format
There really is no hope of making this code even half-way decent without spending the time to rewrite them all properly. Don't want to do any of that
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
from turtle import*
|
||||
from turtle import *
|
||||
import datetime
|
||||
import time
|
||||
|
||||
style = ("Minecraftia", 75, "normal")
|
||||
tracer(0)
|
||||
|
||||
#Ausführen der Uhr.
|
||||
# Ausführen der Uhr.
|
||||
while True:
|
||||
time.sleep(1)
|
||||
clear()
|
||||
@@ -15,7 +15,7 @@ while True:
|
||||
min = datetime.datetime.now().minute
|
||||
h = datetime.datetime.now().hour
|
||||
bk(350)
|
||||
#Abstände definieren
|
||||
# Abstände definieren
|
||||
if h >= 10:
|
||||
write(h, font=style)
|
||||
fd(200)
|
||||
@@ -24,7 +24,7 @@ while True:
|
||||
fd(100)
|
||||
write(h, font=style)
|
||||
fd(100)
|
||||
write(":", font=style, align = "left")
|
||||
write(":", font=style, align="left")
|
||||
fd(50)
|
||||
if min >= 10:
|
||||
write(min, font=style)
|
||||
@@ -34,7 +34,7 @@ while True:
|
||||
fd(100)
|
||||
write(min, font=style)
|
||||
fd(100)
|
||||
write(":", font=style, align = "left")
|
||||
write(":", font=style, align="left")
|
||||
fd(50)
|
||||
if sec >= 10:
|
||||
write(sec, font=style)
|
||||
@@ -45,4 +45,4 @@ while True:
|
||||
write(sec, font=style)
|
||||
fd(100)
|
||||
home()
|
||||
update()
|
||||
update()
|
||||
|
||||
Reference in New Issue
Block a user