Skip to content

Commit

Permalink
daily
Browse files Browse the repository at this point in the history
  • Loading branch information
watchout254 authored Sep 27, 2023
1 parent 3f65d07 commit fbc923a
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion sets.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,25 @@
set1.pop()
print(set1.pop())
print(set1)
print(len(set1))
print(len(set1))


a = 5
b = 4

print(a&b)
print(a | b)
print(a^b)
print(~a)
print(~b)
print(a<<2)
print(a>>2)
print("")
print("")

print(26&23)
print(17|24)
print(17^24)
print(~45)
print(68<<2)
print(56>>3)

0 comments on commit fbc923a

Please sign in to comment.