fosscellcet / Competitive-Coding-Repository

A collection of solution to Competitive Coding questions in all programming languages.
8 stars 25 forks source link

added python programs for bit manipulation #5

Closed balvinderz closed 4 years ago

balvinderz commented 4 years ago

Added Python Programs for bit manipulation.

rwithik commented 4 years ago

Please remove the .vscode folder, or add a .gitignore file. And, instead of taking input from the user, set the numbers to the example inputs.
For example, in the check_if_ith_bit_is_set.py file, instead of

number = int(input())
index = int(input())

do

number = 5
index = 1

Do that for all files, and you're good to go.

balvinderz commented 4 years ago

done