You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 732240b
Browse filesBrowse the repository at this point in the historyBrowse files
"Language-Team: German (http://www.transifex.com/projects/p/python-for-beginners/language/de/)\n"
@@ -21,17 +21,17 @@ msgstr ""
21
21
"Language: de\n"
22
22
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
23
23
24
-
#0ebffb4008364c84b28bbdbc83a58dd0
24
+
#9ece408bf93d4f1380b275d2a3b2e78c
25
25
#:../../../source/conditional_loops.rst:2
26
26
msgid"Conditional Loops"
27
27
msgstr"Bedingte Schleifen"
28
28
29
-
#c001aa827a0c4efeace6c64237e071b2
29
+
#e4c3685810134a3cac281c4054dbd486
30
30
#:../../../source/conditional_loops.rst:4
31
31
msgid"Introduction"
32
32
msgstr"Einführung"
33
33
34
-
#286bdc49c4f54f99a59f5aa3e5f89fa1
34
+
#ff3f854787fb44b1886638babefc51fd
35
35
#:../../../source/conditional_loops.rst:6
36
36
msgid""
37
37
"Conditional loops are way to repeat something while a certain condition is "
@@ -41,90 +41,90 @@ msgid ""
41
41
"defined with the ``while`` statement::"
42
42
msgstr"Bedingte Schleifen sind ein Weg etwas zu wiederholen solange eine bestimmte Bedingung erfüllt, oder **True**, ist. Falls die Bedingung immer erfüllt ist (also nie **False** wird) wird die Schleife endlos. Falls die Bedingung schon anfänglich falsch ist, wird der Code in der Schleife niemals ausgeführt! In Python werden bedingte Schleifen mit der ``while``\\ -Anweisung definiert::"
43
43
44
-
#dca5de2f82e543c4a48463876e388415
44
+
#0e136aaf3979467cbce6994bd0c7ec43
45
45
#:../../../source/conditional_loops.rst:23
46
46
msgid"We call this part of the code the 'conditional': ``'.' not in word``"
47
47
msgstr"Wir nennen diesen Teil des Quelltextes die 'Bedingung': ``'.' not in word``"
48
48
49
-
#9d1aa6649ba94e21908cff558d8e8826
49
+
#37e7fbe72042440281d5be021300618a
50
50
#:../../../source/conditional_loops.rst:25
51
51
msgid""
52
52
"Whether the conditional return True or not determines whether the code "
53
53
"inside the ``while`` loop runs."
54
54
msgstr"Ob die Bedingung wahr (True) zurückgibt oder nicht entscheidet, ob der Quelltext innerhalb der ``while``\\ -Schleife ausgeführt wird."
55
55
56
-
#7fc839b4812d49c087116e5c082b0654
56
+
#9cbf6c2c772542599d9c03b9382dabc2
57
57
#:../../../source/conditional_loops.rst:28
58
58
msgid""
59
59
"Read the code above, and see if you can summarise in your head what it what "
60
60
"it do (what its final output will be)."
61
61
msgstr"Lies den obigen Quelltext und schau, ob du in deinem Kopf zusammenfassen kannst was er tut (und was seine endgültige Ausgabe sein wird)."
62
62
63
-
#18c22a5fe65440de8c2100ef541567b0
63
+
#7dc2a53b5b3347f5b32b2e8fa24d4de1
64
64
#:../../../source/conditional_loops.rst:31
65
65
msgid""
66
66
"Then copy it into a file, say :file:`sentence.py` and run it - see exactly "
67
67
"what it does. Does that match up with what you thought?"
68
68
msgstr"Dann kopier ihn in eine Datei, sagen wir :file:`satz.py`, und führ ihn aus -- schau genau was er tut. Trifft das, was du dir gedacht hast?"
69
69
70
-
#400050782b514b07b884a224a79f4915
70
+
#9c0324a89c274d95b47e2379d3836372
71
71
#:../../../source/conditional_loops.rst:36
72
72
msgid""
73
73
"If you are using Python 2, you will need to replace ``input`` with "
74
74
"``raw_input`` to run the program correctly."
75
75
msgstr"Falls du Python 2 benutzt wirst du ``input``mit ``raw_input`` ersetzen müssen um das Programm korrekt auszuführen."
76
76
77
-
#893ffd73db564e45bf4edc62de0c4aec
77
+
#3a13cc6cfe6e4e25996e06818dc5ff70
78
78
#:../../../source/conditional_loops.rst:40
79
79
msgid"Turtle prison"
80
80
msgstr"Schildkrötengefängnis"
81
81
82
-
#45292113e45d41e7b1b92ccf9d813a8b
83
-
#324bbaf285c5445f846e9ad7f3d79213
82
+
#dc766db512b340399ab35b88d5ffaa3f
83
+
#3e308b72773b4b119a51dc068f3324eb
84
84
#:../../../source/conditional_loops.rst:43
85
85
#:../../../source/conditional_loops.rst:87
86
86
msgid"Exercise"
87
87
msgstr"Übung"
88
88
89
-
#a2660c48dad44766bde0bf90b2ad0528
89
+
#02ab5af3a8774996974f4e969721363a
90
90
#:../../../source/conditional_loops.rst:45
91
91
msgid""
92
92
"The turtle has been up to its usual tricks again, robbing liqour stores and "
93
93
"building up huge gambling debts. It's time for turtle to be put into a cell "
94
94
"that it can't get out of."
95
95
msgstr"Die Schildkröte hat wieder ihre üblichen Spielchen abgezogen, Spirituosenläden ausrauben und riesige Spielschulden anhäufen. Es ist Zeit die Schildkröte in ein Gefängnis einzusperren aus dem sie nicht herauskommt."
96
96
97
-
#c903bbaa30ea41c99d255de554d25a44
97
+
#6defe5bfc7e3446db21003471e4555ad
98
98
#:../../../source/conditional_loops.rst:49
99
99
msgid""
100
100
"Let's make a new version of ``forward()``. One that will turn the turtle "
101
101
"around if it tries to go further than 100 from the origin. We'll need a "
102
102
"``while`` loop, and some new turtle functions:"
103
103
msgstr"Lass uns eine neue Version von ``forward()`` bauen. Eine die die Schildkröte herumdreht falls sie versucht sich weiter als 100 von ihrem Ursprung zu entfernen. Wir brauchen eine ``while``\\ -Schleife und einige neue turtle-Funktionen:"
104
104
105
-
#3ce77ae318ca4616805a1fe13f9c94f0
105
+
#a9d41d5c4b174e2b95aab6f15fc381ff
106
106
#:../../../source/conditional_loops.rst:53
107
107
msgid"``turtle.distance(0,0)`` - Distance of the turtle from the origin"
108
108
msgstr"''turtle.distance(0, 0)'' - Entfernung der Schildkröte vom Ursprung."
109
109
110
-
#2743f0601d844fd5827dc8ca59a5161b
110
+
#f44fcec39dcc49c29a19cf82c017a7b6
111
111
#:../../../source/conditional_loops.rst:54
112
112
msgid"``turtle.towards(0,0)`` - The angle to get back to origin"
113
113
msgstr"''turtle.towards(0, 0)'' - Der Winkel der zurück zum Ursprungspunkt führt."
114
114
115
-
#735068e95dbb4feb83bc42382501dba0
115
+
#028ae14b97df450d912b4240f425056f
116
116
#:../../../source/conditional_loops.rst:55
117
117
msgid"``turtle.setheading(angle)`` - Directly sets the turtle direction"
118
118
msgstr"``turtle.setheading(Winkel)`` - Setz direkt die Ausrichtung der Schildkröte"
119
119
120
-
#0122ec4586504984bd958b7f612c62f6
120
+
#b49076c6cfcb45b69d58a3254df6d213
121
121
#:../../../source/conditional_loops.rst:57
122
122
msgid""
123
123
"You could try playing with a turtle in the interpreter and using these "
124
124
"functions to check exactly what they do, if you like."
125
125
msgstr"Du kannst versuchen mit der turtle in einem Interpreter herumzuspielen und die Funktionen zu benutzen um genau zu sehen was sie tun, wenn du magst."
126
126
127
-
#0e6c0ed6971b4e538b809f9a0cd1f136
127
+
#e20b8525759e42cc8478a01d09154c4d
128
128
#:../../../source/conditional_loops.rst:60
129
129
msgid""
130
130
"Now you will need to implement the prison logic using these turtle "
@@ -133,27 +133,27 @@ msgid ""
133
133
" or another student."
134
134
msgstr"Jetzt wirst du die Gefängnislogik implementieren müssen indem du die turtle-Funktionen verwendet, vielleicht eine ``while``\\ -Schleife und ein bisschen bedingte Logik. Es ist ein bisschen haarig aber bleib dran! Scheu nicht zurück deine Idee mit einem Coach oder einem anderen Lernenden durchzusprechen."
135
135
136
-
#1b49d73c3a5e4021ac2fe477151ecc2f
137
-
#14cab36de06d4023b20c5be256604d50
136
+
#22571933f2bd4e95a0105596802f1d19
137
+
#ddaab43a66dd47b4be5df758cbb62786
138
138
#:../../../source/conditional_loops.rst:66
139
139
#:../../../source/conditional_loops.rst:104
140
140
msgid"Solution"
141
141
msgstr"Lösung"
142
142
143
-
#352a42136ca6400ab20cf89a1ab398b3
143
+
#51b5a340dc7d4578a9e9a1f2e05f4869
144
144
#:../../../source/conditional_loops.rst:80
145
145
msgid"Draw a spiral"
146
146
msgstr"Zeichne eine Spirale"
147
147
148
-
#6aeef203d95c4a34bd5bd692b99ebe55
148
+
#f977e1db0d89476f8fbd160bec217c0e
149
149
#:../../../source/conditional_loops.rst:82
150
150
msgid""
151
151
"Loops can be interrupted with the ``break`` statement. This is especially "
152
152
"useful if you write an *infinite loop*, which is a loop where the "
153
153
"conditional is always **True**."
154
154
msgstr"Schleifen können mit der ``break``\\ -Anweisung unterbrochen werden. Das ist besonders nützlich wenn du eine *Endlosschleife* schreibst, was eine Schleife ist deren Bedingung immer wahr (**True**) ist."
155
155
156
-
#217e80c3d8024535a12d1b844ab5475a
156
+
#ab8312bfe1eb44738eee160071ebc1af
157
157
#:../../../source/conditional_loops.rst:89
158
158
msgid""
159
159
"Write a ``while`` loop with a condition that is always **True** to draw a "
@@ -162,27 +162,27 @@ msgid ""
162
162
"distance to the point defined by the coordinates ``x`` and ``y``."
163
163
msgstr"Schreib eine ``while``\\ -Schleife mit einer Bedingung die immer wahr (**True**) ist um eine Spirale zu malen. Unterbrich die Schleife wenn die turtle eine gewissen Distanz zum Mittelpunkt erreicht hat. Benutz die Funktion ``turtle.distance(x, y)`` um die Entfernung der Schildkröte zu dem durch die ``x``\\ - und ``y``\\ -Koordinaten bestimmten Punkt zu errechnen."
164
164
165
-
#bd8e43cfe2964a199f111a74393dff96
165
+
#c58c472033ce479dbe4c5efe5996a057
166
166
#:../../../source/conditional_loops.rst:94
167
167
msgid""
168
168
"To do this you will need the ``turtle.xcor()`` and ``turtle.ycor()`` "
169
169
"functions, which return the position of the turtle in X and Y axes "
170
170
"respectively."
171
171
msgstr"Um das zu tun, brauchst Du die Funktionen ''turtle.xcor()'' und ''turtle.ycor()'', welche die Position der Schildkröte auf der X und Y-Achse zurückgeben."
172
172
173
-
#88a12b054e8245ca96d6e8180a7d0212
173
+
#57c417dc4b0d4cdc9907989c217390d6
174
174
#:../../../source/conditional_loops.rst:100
175
175
msgid""
176
176
"To draw a spiral, the turtle has to rotate by a constant value and move "
177
177
"forward by an increasing value."
178
178
msgstr"Um eine Spirale zu zeichnen, muss die Schildkröte um einen konstanten Winkel gedreht werden und dabei um eine anwachsende Strecke vorwärts bewegt werden."
179
179
180
-
#8030819ae52e44e3a12fc6b6b071eb14
180
+
#5603c83894c545379dd67ce9185f43d7
181
181
#:../../../source/conditional_loops.rst:120
182
182
msgid"Bonus"
183
183
msgstr"Bonus"
184
184
185
-
#5d9767087dc74306a1046a3c8d5b7936
185
+
#ad5d3fb562b64c2f89676d920a764aa0
186
186
#:../../../source/conditional_loops.rst:122
187
187
msgid""
188
188
"Can you make a conditional for this loop, so you don't need the infinite "
0 commit comments