0
Help
I dont can understand why my code isnt working at data science course https://code.sololearn.com/cOP2WKUgmg93/?ref=app
1 Answer
0
You need to use `and`(Logical AND) that returns True if both the operands are true whereas & is a bitwise operator in Python.
Also, take a look at list comprehension lesson once.
It needs to be like this
dd = [i for i in data if condition1 and condition2]