+ 5

What is "IN" operator

can any one tell me how to use "IN" operator

21st Mar 2018, 11:10 AM
Sahan Sandeepa Nagodavithana
Sahan Sandeepa Nagodavithana - avatar
2 Respostas
+ 5
'In' in Python checks if an object contains what you specified in the condition. Like an element in a list. Example: list = [1, 2, 3] # This will return true if 2 in list: return True
21st Mar 2018, 11:21 AM
apex137
apex137 - avatar
0
El IN te permitirá indicar 1 o N parámetros... Por lo tanto el resultado traerá todo lo que pueda encontrar con dichos parámetros
5th Aug 2018, 8:22 PM
Daniel Inostroza O.
Daniel Inostroza O. - avatar