JordanLeich / Ultimate-Calculator

This is an incredibly powerful calculator and converter that is capable of many useful day-to-day functions that typical calculators cannot perform.
MIT License
42 stars 10 forks source link

Add bitwise operations #35

Closed PeanutbutterWarrior closed 3 years ago

PeanutbutterWarrior commented 3 years ago

Adds the bitwise operations to calculator.py and updates the relevant menu. I've used f-strings which you seem to be purging. The warning you're getting is because you've enabled code compatability inspection, and f-strings aren't python 2 compatable. If you want to be able to run on python 2 I'll change them to .format but I can't understand why you would, and I expect that other parts of the code aren't compatible.

JordanLeich commented 3 years ago

Everything looks good here, I will stop using .format and revert back to using f strings as well.