class_docstr: Class to provide helper functions for mathematics and other small things
class_docstr_tok: ["Class","to","provide","helper","functions","for","mathematics","and","other","small","things"]
docstr: Greatest common divisor.
  
  The Greatest Common Divisor of a and b using Euclid's Algorithm.
  
  Args:
      a -> num 1
      b -> num 2
  
  Returns:
      Returns  GCD(a, b)
docstr_tok: ["Greatest","common","divisor",".","The","Greatest","Common","Divisor","of","a","and","b","using","Euclid","'s","Algorithm",".","Args",":","a","-",">","num","1","b","-",">","num","2","Returns",":","Returns","GCD","(","a",",","b",")"]
code: def gcd(a, b) -> int:
      """Greatest common divisor.
  
      The Greatest Common Divisor of a and b using Euclid's Algorithm.
  
      Args:
          a -> num 1
          b -> num 2
  
      Returns:
          Returns  GCD(a, b)
  
      """
      # Return
      while a != 0:
          a, b = b % a, a
      return b
  
file_path: Ciphey/ciphey/mathsHelper.py
imports: from collections import OrderedDict
  from string import punctuation
  from typing import Optional
  import logging
  from rich.logging import RichHandler
label_desc: Use image node_id 2 for calling the mathsHelper obj's underlying member method code with example usage: obj.gcd(a, b) and returns: b