Advertisement
mfx28

Untitled

Jun 9th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.27 KB | None | 0 0
  1. def naousar_especial(input):
  2.     especial = 0
  3.     lista_especial = "! # - * + & % @ _".split()
  4.     for char in input:
  5.         if char in lista_especial:
  6.             especial += 1
  7.         if especial < 1:
  8.             return True  
  9.         else:
  10.             return False
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement