代码实验展示:
Python 3.7.4 (tags/v3.7.4:e09359112e, Jul 8 2019, 20:34:20) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
>>> import math
>>>
>>> math.gcd(63,28)
7
>>>
>>> gcd = math.gcd(63,28)
>>> gcd
7
>>> type(gcd)
<class 'int'>
>>>
>>> print(type(gcd))
<class 'int'>
>>>
>>> print(gcd)
7
>>>
>>>