Python部分
- 将一个字符串逆序,不能使用反转函数
- 求从10到100中能被3或5整除的数的和
- What is Python? What are the benefits of using Python?
- What is PEP 8?
- What is pickling and unpickling?
- How Python is interpreted?
- What are the tools that help to find bugs or perform static analysis?
- What are Python decorators?
- What is the difference between list and tuple?
- What are the built-in type does python provides?
- What is namespace in Python?
- What is lambda in Python?
- In Python what are iterators?
- What is unittest in Python?
- What are generators in Python?
- How can you copy an object in Python?
- What is module and package in Python?
- Mention what are the rules for local and global variables in Python?
- Explain how can you make a Python Script executable on Unix?
- Explain how to delete a file in Python?
- How can you share global variables across modules?
- Explain how can you generate random numbers in Python?
- Explain how can you access a module written in Python from C?
-
Mention the use of // operator in Python?
- Mention five benefits of using Python?
-
a=1, b=2, 不用中间变量交换a和b的值
-
请用自己的算法, 按升序合并如下两个list, 并去除重复的元素list1 = [2, 3, 8, 4, 9, 5, 6]list2 = [5, 6, 10, 17, 11, 2]
- 写一个简单的python socket编程
- 请描述set的用途并举例说明
- 请简述python2.x 与python3.x的主要区别
- 简述python新式类和旧式类的区别
- Python里面search()和match()的区别?
- 用Python匹配HTML tag的时候,<.*>和<.*?>有什么区别?
- 请简述线程\进程\协程的特性
- 请简述你对python闭包的理解
-
静态函