Bienvenido(a),
Visitante
. Por favor
Ingresar
o
Registrarse
¿Perdiste tu
email de activación?
.
|
Foro
|
Web
|
Blog
|
Wiki
|
Ayuda
|
Buscar
|
Ingresar
|
Registrarse
|
3 Mayo 2024, 22:28 pm
Tema destacado
:
Seguir a @elhackernet
Mostrar Mensajes
Páginas: [
1
]
1
Programación
/
Scripting
/
Re: Duda en python: comparar resultado de split.
en: 24 Marzo 2021, 19:52 pm
Hola!
seria algo asi:
Código:
for i in respuesta.split():
if i in LUGARES:
print(f'{i} en LUGARES')
saludos !
Páginas: [
1
]
WAP2
-
Aviso Legal
-
Powered by SMF 1.1.21
|
SMF © 2006-2008, Simple Machines
"); //-->