Télécharger la série de TP Tkinter: https://drive.google.com/file/d/1J5BL8-BxR7A9__lz2vm3CPtMc9Z1uMQY/view
Code source: https://www.tresfacile.net/solution-exercice13-pgcd-et-ppcm-graphique-en-python-tkinter/
En utilisant la méthode prédéfinie gcd en Python, créer un programme qui permet de calculer le plus grand diviseur commun et le plus petit multiple commun à deux entiers comme le montre la figure ci -dessous. On crée ici une application graphique avec la bibliothèque Tkinter pour calculer le pgcd et le ppcm de deux entiers via une liste déroulante du type combobox associé à un evenement Tkinter du type bin associé à la sélection de la liste combobox. La vidéo a été crée avec le module Tkinter de Python 3.8 version Windows 10. Pour un visionnage de qualité, utiliser le navigateur google chrome.
Using the predefined gcd method in Python, create a program that calculates the greatest common divisor and the smallest common multiple of two integers as shown in the figure below. We create here a graphical application with the Tkinter library to calculate the gcd and the ppcm of two integers via a combobox type drop-down list associated with a Tkinter event of the bin type associated with the selection of the combobox list. The video was created with the Tkinter module of Python 3.8 version Windows 10. For a quality viewing, use the google chrome browser.