Python Lösung
1 2 3 4 5 6 7 8 | #!/usr/bin/python
# coding: utf-8
def test(noten):
if ("6" in noten or noten.count("5") > 1
or ("5" in noten and len(noten.replace("4","")) == 1)):
return False
return True
|
erstellt am 2.12.2008 21:14, zuletzt gendert am 2.12.2008 21:14
