my code is exactly the same as the code above and I get exactly the same answer but I get this error message; “Oops try again. It looks like the value printed isn’t correct.”
Can someone plz help I’m banging my head off a wall
I tried the exact code from the original post and it worked fine.
Thank being said, when I read the part of the instructions that says “Try to do it on your own without using the | operator if you can help it.” I thought that the correct answer would not have the | operator so I did the or in my head and used:
print bin(0b1111)
which also works and allowed me to move on to the next exercise.