61.是否使用过functools中的函数?其作用是什么?
62.列举面向对象中带爽下划线的特殊方法,如:__new__、__init__
63.如何判断是函数还是方法?
64.静态方法和类方法区别?
65.列举面向对象中的特殊成员以及应用场景
66.1、2、3、4、5 能组成多少个互不相同且无重复的三位数
67.什么是反射?以及应用场景?
68.metaclass作用?以及应用场景?
69.用尽量多的方法实现单例模式。
70.装饰器的写法以及应用场景。
71.异常处理写法以及如何主动跑出异常(应用场景)
72.什么是面向对象的mro
73.isinstance作用以及应用场景?
74.写代码并实现:
Given an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input would have exactly one solution, and you may not use the same element twice.Example: Given nums = [2, 7, 11, 15], target = 9,Because nums[0] + nums[1] = 2 + 7 = 9, return [0, 1]
75.json序列化时,可以处理的数据类型有哪些?如何定制支持datetime类型?
76.json序列化时,默认遇到中文会转换成unicode,如果想要保留中文怎么办?
77.什么是断言?应用场景?
78.有用过with statement吗?它的好处是什么?
79.使用代码实现查看列举目录下的所有文件。
80.简述 yield和yield from关键字。
以上就是潍坊计算机培训给大家做的内容详解,更多关于IT课程的学习,请继续关注潍坊计算机培训。