𝕬

Size: a a a
𝕬
k
list = [['a', 'b', 'c'], ['a1', 'b1', 'c1'], ['a', 'b', 'c']]
a = 'b'
if a in dict:
print(list)
Как сделать чтобы принтовал лист вот так :[['a', 'b', 'c'],['a', 'b', 'c']]
тобиж отбрасывал лист в котором нету совпадения по 2 значению ?result = [x for x in [['a', 'b', 'c'], ['a1', 'b1', 'c1'], ['a', 'b', 'c']] if "b" in x]
БГ
k
result = [x for x in [['a', 'b', 'c'], ['a1', 'b1', 'c1'], ['a', 'b', 'c']] if "b" in x]
НК
НК
E
result = [x for x in [['a', 'b', 'c'], ['a1', 'b1', 'c1'], ['a', 'b', 'c']] if "b" in x]
k
if x[index] == "b"
k
E
k
E
БГ
/*
* Date Format 1.2.3
* (c) 2007-2009 Steven Levithan <stevenlevithan.com>
* MIT license
*
* Includes enhancements by Scott Trenda <scott.trenda.net>
* and Kris Kowal <cixar.com/~kris.kowal/>
*
* Accepts a date, a mask, or a date and a mask.
* Returns a formatted version of the given date.
* The date defaults to the current date/time.
* The mask defaults to dateFormat.masks.default.
*/
В начале файла тебя не смутило?)БГ
k
𝕬
k
БГ
БГ
k
lists
в конце🧐