Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- s = 'geometry'
- m = []
- for c1 in s:
- for c2 in s:
- for c3 in s:
- for c4 in s:
- m.append(c1 + c2 + c3 + c4)
- filt = [eve for eve in m if eve.find('e') != -1]
- print(len(filt))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement