MCPcopy Create free account
hub / github.com/subbarayudu-j/TheAlgorithms-Python / main

Function main

Maths/extended_euclidean_algorithm.py:42–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40 return pair
41
42def main():
43 if len(sys.argv) < 3:
44 print('2 integer arguments required')
45 exit(1)
46 m = int(sys.argv[1])
47 n = int(sys.argv[2])
48 print(extended_euclidean_algorithm(m, n))
49
50if __name__ == '__main__':
51 main()

Callers 1

Calls 1

Tested by

no test coverage detected