高德一面题目

1.python基础

1.1 python2和python3的区别

1.2 python闭包

闭包是由函数及其相关的引用环境组合而成的实体

def func1():
    a = 2
    def func2():
        a = 1
        return a
    return func2

f = func1()
print(f())

f = func1()得到的值是func2函数的对象内容地址

f()执行func2函数

1.3 元组和列表的区别

2.HTTP基础

2.1 HTTP包含哪些内容

2.2 https和http的区别

3.linux基础

3.1 find命令

3.2 top

3.3 查看进程

3.4 查看内存和cpu信息

猜你喜欢

转载自www.cnblogs.com/taomin/p/10365483.html