Advertisement
ArcaniSGK507

Untitled

Feb 22nd, 2025
389
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. def validar_entrada(texto):
  2.     permitido = "0123456789.+-x/^"  # Caracteres permitidos
  3.     return all(c in permitido for c in texto)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement