Take a look at PEP-238: Changing the Division Operator
The // operator will be available to request floor division unambiguously.
More Related Contents:
- How can I force division to be floating point? Division keeps rounding down to 0?
- The `is` operator behaves unexpectedly with non-cached integers
- Integer division in Python 2 and Python 3
- Floor division with negative number
- How to manage division of huge numbers in Python?
- Python 3 integer division [duplicate]
- Hex string to signed int in Python
- Python – How to convert only numbers in a mixed list into float?
- UserWarning: Could not import the lzma module. Your installed Python is incomplete
- pip3: bad interpreter: No such file or directory
- How to make an object properly hashable?
- Download YouTube video using Python to a certain directory
- How do I use os.scandir() to return DirEntry objects recursively on a directory tree?
- Pandas rank by multiple columns
- Provide __classcell__ example for Python 3.6 metaclass
- Python: How do I extract specific bits from a byte?
- Finding the position of a word in a string
- Python 3.x – Getting the state of caps-lock/num-lock/scroll-lock on Windows
- Reading a File Line by Line in Python [duplicate]
- How to remove 2nd occurrence of an item in a list using remove() without removing 1st occurrence in Python
- RuntimeError: Input type (torch.FloatTensor) and weight type (torch.cuda.FloatTensor) should be the same
- Convert bytes to a string in python 3
- String concatenate TypeError: can only concatenate str (not “int”) to str”
- How to add an element to the beginning of an OrderedDict?
- How to run Pylint with PyCharm
- When will Jython support Python 3? [closed]
- Python3 error: initial_value must be str or None, with StringIO
- Confusion about pandas copy of slice of dataframe warning
- Multiprocessing Share Unserializable Objects Between Processes
- Star * operator on left vs right side of an assignment statement