Quotient-Remainder Method

Description

The .quo_rem() method returns the quotient and remainder of $a$

Sage Cell

Code

a = 14
b = 3
a.quo_rem(b)

Options

None

Tags

Primary Tags: Number Theory

Secondary Tags: Divisibility

Related Cells

Attribute

Permalink: http://abstract.ups.edu/aata/integers-sage.html

Author: R. Beezer

Date: 14 Jul 2017 10:25

Submitted by: Tom Judson

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License