Quick actions

cmd+k|ctrl+k

Navigation

Languages

function3

Snippet info

Language

Python

Visibility

public

Author

atkincheung

Created

2024-09-19T12:59:37.766521Z

Updated

2024-09-19T13:39:09.095891Z

def a(w):
    y=w
    z=1,2,3
    def b():
        print("I am from functin b")
        return None
    return y,z,b
x=a([1,2,4])
print(x[0],x[1],x[2](),id(x))
print(print(x[0],x[1],x[2](),id(x)))
x=a(True)
print(x[0])
INFO