Compilador de Python Online (Editor / Interpretador)
Escreva, execute e compartilhe o seu código Python instantaneamente com o Compilador de Python Online da Asimov Academy.
valores = {x: ('par' if x % 2 == 0 else 'ímpar') for x in range(10)} print(valores)