bin gerade dabei mich durch die Challenge zu arbeiten. 0 und 1 gingen ja noch
In der 3 Aufgabe heißt es:
One small letter, surrounded by EXACTLY three big bodyguards on each of its sides
Mit:
Code: Alles auswählen
for char in string.ascii_lowercase:
y=x.find(char)
if ord(x[y-3])<=90 and ord(x[y-2])<=90 and ord(x[y-1])<=90 and ord(x[y+3])<=90 and ord(x[y+2])<=90 and ord(x[y+1])<=90:
print x[y]Denke ich in die falsche Richtung? FGHkAJH so stelle ich es mir vor.
MfG
Anymagical
