DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
gcd function in python
import math math.gcd(2, 4) // returns 2
Source by docs.python.org #
PREVIOUS
NEXT
Tagged:
#gcd
#function
#python
ADD COMMENT
Topic
COMMENT
Name
9+2 =
Submit