no ninguna prueba en Python [duplicar]
Esta pregunta ya tiene una respuesta aquí:
- Python `if x is not None` o `if not x is None`? 10 respuestas
Fuera de estos no ninguna prueba.
if val != None:
if not (val is None):
if val is not None:
¿Cuál es preferible y por qué?
Warning: Undefined property: agent_blog_content::$date_asked in /var/www/agent_etc/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 32
Warning: Undefined property: agent_blog_content::$count_answers in /var/www/agent_etc/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 52