I have three list
out5 = ['increasing', 3, 5,3] out50 = ['increasing', 9, 5,3] out95 = ['increasing', 8, 7,3]I am trying to create this condition
if out5[0]=='increasing' & out50[0] == 'increasing' & out95[0] == 'increasing': das = 2but I get error
Error:Traceback (most recent call last):
File "/Users/mada0007/PycharmProjects/Research_ass/station_data_analysis.py", line 240, in <module>
if out5[0] == 'increasing' & out50[0] == 'increasing' & out95[0] == 'increasing':
TypeError: unsupported operand type(s) for &: 'str' and 'str'
How can I please overcome this?