From 165d391a4a4a9825ca7492a064c07e7a3251b6c0 Mon Sep 17 00:00:00 2001 From: freezed <2160318-free_zed@users.noreply.gitlab.com> Date: Tue, 13 Apr 2021 00:57:40 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Explain=20script=20purpose=20in?= =?UTF-8?q?=20docstings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit forga/process/fr/embarquement#6 --- tuto-pysdur/pgcd.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tuto-pysdur/pgcd.py diff --git a/tuto-pysdur/pgcd.py b/tuto-pysdur/pgcd.py new file mode 100644 index 0000000..473cd45 --- /dev/null +++ b/tuto-pysdur/pgcd.py @@ -0,0 +1,21 @@ +#!/usr/bin/env python3 +# coding: utf8 + +""" +Author: freezed <2160318-free_zed@users.noreply.gitlab.com> 2021-04-13 +Version: 0.1 +Licence: `GNU GPL v3` GNU GPL v3: http://www.gnu.org/licenses/ + +This is a script following +https://gitlab.com/forga/process/fr/embarquement/-/issues/6 + +The goal is to build durable python script using standard library +""" + + +def pgcd(a,b): + """ + This function find the Greatest Common Divisor (PGCD in French) + between a & b + """ + pass