ZhangZhihui's Blog  

2024年7月29日

摘要: Unlike some other languages, in Python, the logical operators "and" and "or" do not return Boolean values True or False; they actually return the last 阅读全文
posted @ 2024-07-29 21:06 ZhangZhihuiAAA 阅读(5) 评论(0) 推荐(0) 编辑
 
摘要: To select a random item from the list or shuffle the list, you can use the choice and shuffle functions from the random module of the standard library 阅读全文
posted @ 2024-07-29 20:05 ZhangZhihuiAAA 阅读(10) 评论(0) 推荐(0) 编辑