Browse Source

Aktualisierung...

Niko Hessler 7 years ago
parent
commit
c86c61c8b0
1 changed files with 7 additions and 4 deletions
  1. 7 4
      pvl.py

+ 7 - 4
pvl.py

60
 
60
 
61
 
61
 
62
 #Berechnung
62
 #Berechnung
63
-a=0
64
-b=0
65
-n=0
63
+a=52
64
+b=7
65
+n=5
66
 
66
 
67
 lonstart=a
67
 lonstart=a
68
 lonende=b
68
 lonende=b
73
         c_square = a**2 + b**2
73
         c_square = a**2 + b**2
74
         c = int(sqrt(c_square))
74
         c = int(sqrt(c_square))
75
         if ((c_square - c**2) == 0):
75
         if ((c_square - c**2) == 0):
76
-                print c
76
+                print c, "Laengengrad"
77
+                print "Danke"
78
+                print "-"*50
79
+
77
 
80
 
78
 
81
 
79
 
82