<[email protected]> a écrit dans le message de news:[email protected]...
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
