Ad

If printing's all you're going to do, no need to save the result to a variable.

Code
Diff
  • def multiplica(a, b):
        return a * b
    print(multiplica(4, 5))
    • def multiplica(a, b):
    • return a * b
    • resultado = multiplica(4, 5)
    • print(resultado)
    • print(multiplica(4, 5))