123k views
5 votes
Which method finds the greatest common divisor of 14 and 35?

import math

math. ____ (14,35)

2 Answers

4 votes

Answer:

gcd

Step-by-step explanation:

it means greatest common divisor

User Clorina
by
4.4k points
4 votes

Answer:

gcd method

Step-by-step explanation:

Given

The code snippet

Required

Which method completes the code

To return the gcd of numbers, simply use the gcd method.

So: the complete code is;

import math

math.gcd(14,35)

User Kiw
by
5.0k points