[问卦] python语法怎么那么好用!

楼主: BigCockman (大雕男)   2021-07-21 14:47:53
l = [1,2,3]
m=[i *5 for i in l]
print(m) # [5,10,15]
也太好用了吧!
不像JS还要用map传callback, Java还要用什么stream的超级麻烦
为什么Python语法这么强!有卦吗!

Links booklink

Contact Us: admin [ a t ] ucptt.com