Write a program to calculate Binary Ones Complement of a number


Topic: Write a program to calculate Binary Ones Complement of a number

Solution

a = 60
c = ~a
print("Binary Ones Complement", c)



List all Python Programs