Python Numeric and Mathmedical Modules

2021-07-28

about Numeric and Mathmedical Modules that Python bulit-in types

Numeric

  • basic

      n**2 #n's squared
      n**0.5 # squared root of n
    
  • math

      math.gcd(x1,x2,x3)
    
      math.ceil(x) #↑
      math.floor(x) #↓
      math.round(x, i) #↕
    
      math.comb()
      math.factorial()
      math.perm()
    


Leave a comment