Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alles = 'zcfzfwzzqfrljwzlrfnpqdbhtmscgvjw'
- zoeken = True
- nubij = 13
- while zoeken:
- deze = True
- for x in range(13):
- for y in range(13-x):
- if alles[nubij-y] == alles[nubij - y - (x+1)]:
- deze = False
- # print(alles[nubij], 'is', alles[nubij - (x+1)])
- if deze:
- zoeken = False
- print(nubij+1)
- else:
- nubij += 1
Advertisement
Add Comment
Please, Sign In to add comment