#!/usr/bin/env python
# -*- coding:utf-8 -*-
__author__ = 'MFC'
__time__ = '2019-08-17 13:36'

# 3-3 常考函数

def flist(l):
    l.append(0)
    print(id(l))
    print(l)


ll = []
print(id(ll))
flist(ll)
flist(ll)


def fstr(s):
    s += 'a'
    print(s)


ss = 'hehe'
fstr(ss)
fstr(ss)



# [0]
# [0, 0]
# hehea
# hehea




804bb757335cdf219402e20c7dcce574edd45307
<mask token>


def flist(l):
    l.append(0)
    print(id(l))
    print(l)


<mask token>

<mask token>


def flist(l):
    l.append(0)
    print(id(l))
    print(l)


<mask token>


def fstr(s):
    s += 'a'
    print(s)


<mask token>

<mask token>


def flist(l):
    l.append(0)
    print(id(l))
    print(l)


<mask token>
print(id(ll))
flist(ll)
flist(ll)


def fstr(s):
    s += 'a'
    print(s)


<mask token>
fstr(ss)
fstr(ss)

__author__ = 'MFC'
__time__ = '2019-08-17 13:36'


def flist(l):
    l.append(0)
    print(id(l))
    print(l)


ll = []
print(id(ll))
flist(ll)
flist(ll)


def fstr(s):
    s += 'a'
    print(s)


ss = 'hehe'
fstr(ss)
fstr(ss)

#!/usr/bin/env python
# -*- coding:utf-8 -*-
__author__ = 'MFC'
__time__ = '2019-08-17 13:36'

# 3-3 常考函数

def flist(l):
    l.append(0)
    print(id(l))
    print(l)


ll = []
print(id(ll))
flist(ll)
flist(ll)


def fstr(s):
    s += 'a'
    print(s)


ss = 'hehe'
fstr(ss)
fstr(ss)



# [0]
# [0, 0]
# hehea
# hehea



