[Algorithme] - 94. Déterminer si un nombre est pair [Python]
foxx py
Bonjour à tous,
Dans ce 94ème épisode d'algorithmie, "Déterminer si un nombre est pair", on va coder une méthode qui va prendre en paramètre un nombre entier, si il est pair, la méthode renverra True, sinon elle renverra False.
--- Timeline --- 00:00 : Énoncé et définition 00:46 : Codage de pair(n) 01:12 : Test de pair(n) 01:50 : Méthode pair(n) en une ligne
--- Matériel --- Éditeur de texte : Jupyter Notebook Microphone : Bird UM1 Version de Python : 3.8.3
Github : https://github.com/foxxpy/Algorithmie
--- Réseaux sociaux --- Vous pouvez me suivre sur twitter : twitter.com/foxxpy Vous pouvez me suivre sur instagram : instagram.com/foxx.py/
Merci à La Hyène, Graphiste Tout Terrain, pour le logo et la bannière foxxpy : youtube.com/channel/UCCyptxH80V_rUZ557Qclh1A.
N'hésitez pas à aller voir son travail :). ... https://www.youtube.com/watch?v=Y34srP2FVes
6168260 Bytes