This commit is contained in:
Chizuui
2025-11-27 00:38:38 +07:00
parent 5444efab13
commit 1795fa1c2f
81 changed files with 1893 additions and 0 deletions

9
Operator bitwise.py Executable file
View File

@@ -0,0 +1,9 @@
a = 0b01 #desimal=1
b = 0b10 #desimal=2
print (a&b) #AND
print (a|b) #OR
print (a^b) #XOR
print (~a) #NOT
print (~b) #NOT