[Algorithme] - 62. Convertir un nombre hexadécimal en décimal [Python]
foxx py
Bonjour à tous,
Dans ce 62ème épisode d'algorithmie, "Convertir un nombre hexadécimal en décimal", on va coder une méthode qui va prendre en paramètre un nombre hexadécimal (dans une chaîne de caractères) et renvoyer un nombre décimal (nombre entier).
--- Timeline --- 00:00 : Énoncé 00:23 : Processus de conversion détaillé 02:39 : La méthode hex() 03:45 : Codage de hexadecimal_to_decimal() 06:57 : Test de hexadecimal_to_decimal()
--- 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=5l1fE2x--pc
22992736 Bytes