The first code gives True but the second gives an error saying
TypeError: unsupported operand type(s) for &: 'str' and 'int'
What is the difference between & and and operator in Python? Isn't it the same?
student = "Justin"
first code
print(student == "Justin" and 1 == 1)
second code
print(student == "Justin" & 1 == 1)