- 1
What does "|" means? (PYTHON)
2 Answers
+ 2
Hi! Is it upercase i, lowercase L, or a bitwise operator? They almost look same on my screen; put it in an context:
l = [1, 2, 3]
I = iter(G)
10 | 1
0
The meaning of "|" is "or" read the example below and replace "|" with "or" when you are reading the code and you will understund
a = 5
if a>4 | a==7:
print("you are inside hh")
else:
print("you are outside hh")