repl.it
@fernandosavio/

SOPt-351830-6333

Python

https://pt.stackoverflow.com/a/351830/6333

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from dis import dis

def exemplo_1(x):
    output = x + 1
    return output

def exemplo_2(x):
    return x + 1

print('>>> dis(exemplo_1)')
dis(exemplo_1)

print('-' * 60)

print('>>> dis(exemplo_2)')
dis(exemplo_2)