def has_no_e(phrase):
have_e = 0
not_have_e = 0
try:
proc = (have_e/not_have_e) * 100
except ZeroDivisionError:
print('ZeroDivisionError')
for word in phrase:
list.append(word)
for word in list:
if 'e' in word:
have_e += 1
list.remove(word)
else:
not_have_e += 1
print(list, proc)
list = ['mat', 'tvou', 'ebal']
has_no_e(list)
ZGVmIGhhc19ub19lKHBocmFzZSk6CiAgICBoYXZlX2UgPSAwCiAgICBub3RfaGF2ZV9lID0gMAogICAgdHJ5OgogICAgICAgIHByb2MgPSAoaGF2ZV9lL25vdF9oYXZlX2UpICogMTAwCiAgICBleGNlcHQgWmVyb0RpdmlzaW9uRXJyb3I6CiAgICAgICAgcHJpbnQoJ1plcm9EaXZpc2lvbkVycm9yJykKICAgIGZvciB3b3JkIGluIHBocmFzZToKICAgICAgICBsaXN0LmFwcGVuZCh3b3JkKQogICAgZm9yIHdvcmQgaW4gbGlzdDoKICAgICAgICBpZiAnZScgaW4gd29yZDoKICAgICAgICAgICAgaGF2ZV9lICs9IDEKICAgICAgICAgICAgbGlzdC5yZW1vdmUod29yZCkKICAgICAgICBlbHNlOgogICAgICAgICAgICBub3RfaGF2ZV9lICs9IDEKCiAgICBwcmludChsaXN0LCBwcm9jKQoKbGlzdCA9IFsnbWF0JywgJ3R2b3UnLCAnZWJhbCddCmhhc19ub19lKGxpc3Qp