Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
lehrkraefte:blc:informatik:ffprg1-2020:funktionen [2022/05/19 12:30] Ivo Blöchliger [Sichtbarkeit der Variablen] |
lehrkraefte:blc:informatik:ffprg1-2020:funktionen [2022/05/19 12:43] Ivo Blöchliger [Beispiel: Buchstaben verwürfeln] |
||
---|---|---|---|
Line 77: | Line 77: | ||
if (j==i): | if (j==i): | ||
j+=1 | j+=1 | ||
- | return | + | return |
def wortWuerfeln(wort): | def wortWuerfeln(wort): | ||
- | wort = buchstabenTauschen(wort) | + | wort = buchstabenWuerfeln(wort) |
if (len(wort)> | if (len(wort)> | ||
- | wort = buchstabenTauschen(wort) | + | wort = buchstabenWuerfeln(wort) |
return wort | return wort | ||