0

Help

I dont can understand why my code isnt working at data science course https://code.sololearn.com/cOP2WKUgmg93/?ref=app

5th Apr 2022, 5:56 AM
MeGaN
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]
5th Apr 2022, 6:23 AM
Simba
Simba - avatar