<busca...@gmail.com> a écrit dans le message de news:7839376e-fc27-4299-ae63-4ddf17ef9...@googlegroups.com...
Em quarta-feira, 22 de outubro de 2014 06h29min55s UTC-2, ast escreveu:HelloIs there in Python something like: j = (j >= 10) ? 3 : j+1; as in C language ? thxwithout not: j = [j+1, 3][j>=10] with not: j = [3, j+1][not (j>=10)]
Oh it's a trick !thx
-- https://mail.python.org/mailman/listinfo/python-list