Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from os import system
- # meine Funktionen
- def clear_screen():
- system("cls")
- def lines():
- print (104 * "-")
- def help():
- clear_screen()
- print("\nDas Programm befindet sich noch in der Testphase!!")
- print("\n\n(Anstatt Komma bitte einen Punkt eingeben!!!)")
- print("(Bei falscher Eingabe stürzt das Programm momentan noch ab)")
- # Hauptprogramm
- clear_screen()
- # Hauptmenü
- lines()
- print ("\n\t\t\tProgramm zum Erstellen von Koordinaten für Ebert Abrichter")
- lines()
- print ("\n\n\n (1) Flachkopf mit Schräge")
- print (" (2) Flachkopf mit Kontur")
- print (" (3) Senkkopf mit Schräge")
- print (" (4) Senkkopf mit Kontur")
- print (" (5) Hilfe")
- print (" (6) Beenden ")
- choose = input("\n\n\n Welche Option wählen Sie? > ")
- # Auswahl Otionen
- if choose == "1":
- help()
- SchaftDurchmesser = float(input("\n\nSchaftDurchmesser > "))
- TD = float(input("TD > "))
- Schaftlänge = float(input("Schaftlänge > "))
- Radius = float(input("Radius > "))
- Schräge = float(input("Schräge > "))
- print ("\n\nEngegebene Daten : ")
- elif choose == "5":
- clear_screen()
- print ("\n\n\t\t\tProgramm erstellt von Phillip Francis\n\n\n\n")
- elif choose == "6":
- print ("\n\n\nProgrammende\n\n\n")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement