Personal tools
You are here: o studio 110 2016-17 tmp Inf 11 doku doku s py s upload name.py

name.py

Florian Foitzik

name.py — Python Source, 2Kb

File contents

from turtle import*

width(10)
speed(10)
ht()
anzahlbuchstaben =15

#Ausgangsposition

lt(180)
up()
fd(600)
rt(90)
fd(350)
rt(90)
down()



#buchstaben funktionen
def blanko ():
    up()
    fd(80)
    down()

def zeile (anzahlbuchstaben):
    up()
    rt(90)
    fd(120)
    rt(90)
    fd(anzahlbuchstaben*80)
    lt(180)
    down()
    
def F ():
    lt(90)
    fd(50)
    rt(90)
    fd(40)
    lt(180)
    fd(40)
    rt(90)
    fd(50)
    rt(90)
    fd(60)
    rt(90)
    up()
    fd(100)
    lt(90)
    fd(20)
    down()
    
def L ():
    lt(90)
    fd(100)
    lt(180)
    fd(100)
    lt(90)
    fd(60)
    up()
    fd(20)
    down()
    
def O():
    lt(90)
    fd(100)
    rt(90)
    fd(60)
    rt(90)
    fd(100)
    rt(90)
    fd(60)
    lt(180)
    fd(60)
    up()
    fd(20)
    down()

def R():
    lt(90)
    fd(100)
    rt(90)
    fd(60)
    rt(90)
    fd(50)
    rt(90)
    fd(60)
    rt(180)
    rt(39.8)
    fd(78.1)
    lt(39.8)
    up()
    fd(20)
    down()
    
def I ():
    up()
    fd(30)
    down()
    lt(90)
    fd(100)
    lt(180)
    fd(100)
    lt(90)
    up()
    fd(50)
    down()
    
def A ():
    lt(90)
    fd(100)
    rt(90)
    fd(60)
    rt(90)
    fd(50)
    rt(90)
    fd(60)
    lt(180)
    fd(60)
    rt(90)
    fd(50)
    lt(90)
    up()
    fd(20)
    down()

def N():
    lt(90)
    fd(100)
    rt(90)
    rt(59)
    fd(116.62)
    lt(90)
    lt(59)
    fd(100)
    lt(180)
    up()
    fd(100)
    lt(90)
    fd(20)
    down()

def T ():
    up()
    fd(30)
    down()
    lt(90)
    fd(100)
    lt(90)
    fd(30)
    rt(180)
    fd(60)
    rt(180)
    fd(30)
    lt(90)
    fd(100)
    lt(90)
    up()
    fd(50)
    down()

def Z ():
    lt(59)
    fd(116.92)
    lt(121)
    fd(60)
    lt(180)
    fd(60)
    rt(121)
    fd(116.92)
    lt(121)
    fd(60)
    up()
    fd(20)
    down()



def B ():
    lt(90)
    fd(100)
    rt(90)
    fd(60)
    rt(90)
    fd(50)
    rt(90)
    fd(60)
    lt(180)
    fd(60)
    rt(90)
    fd(50)
    rt(90)
    fd(60)
    lt(180)
    fd(60)
    up()
    fd(20)
    down()

def C ():
    lt(90)
    fd(100)
    rt(90)
    fd(60)
    lt(180)
    fd(60)
    lt(90)
    fd(100)
    lt(90)
    fd(60)
    up()
    fd(20)
    down()


F()
L()
O()
R()
I()
A()
N()
blanko()
F()
O()
I()
T()
Z()
I()
B()
    
input()
Document Actions