Python 开发面试题收集

Python部分 

 

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值