码迷,mamicode.com
首页 > 编程语言 > 详细

Python.list

时间:2015-02-26 21:35:40      阅读:189      评论:0      收藏:0      [点我收藏+]

标签:

1. Fastest way to check if a value exist in a list

http://stackoverflow.com/questions/7571635/fastest-way-to-check-if-a-value-exist-in-a-list

 

7 in a

True: 7在list a中;False: 7不在list a中。

 

Python.list

标签:

原文地址:http://www.cnblogs.com/cwgk/p/4302094.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!