
最近在网上偶然发现了很多“奇怪”的Python代码片段。本文,我与你们分享其中一些。
Python中循环的“奇怪”现象

Python中布尔的“奇怪”现象

Python中字符串的“奇怪”现象

Python中加法的“奇怪”现象

Python中哈希的“奇怪”现象
函数中的字典键值是有效的!

Python中字符串操作的“奇怪”现象

CPython的“奇怪”现象


Python中数组的“奇怪”现象

你还见过什么怪像吗?说出来一起分享分享
如果大家想找一个Python学习环境,可以加入我们的Python学习圈:784758214 ,自己是一名高级python开发工程师,这里有我自己整理了一套最新的python系统学习教程,包括从基础的python脚本到web开发、爬虫、django、人工智能、机器学习等。送给正在学习python的小伙伴!每天会准时的讲一些项目实战案例,分享一些学习的方法和需要注意的小细节,,这里是python学习者聚集地
网友评论