I initialy found that the binary conversion process was extremely easy to get wrong without enough training but I also felt that AI would take too much time to convert wich is a waste of time when I wanted to train as much as possible, the solution I found was to make a python script that would convert it in the blink of an eye.
- Execute the code
- Pick the desired language
- Pick the desired convertion
- Put the number you wish to convert
The code contains many conditions and exceptions (mostly in the hexadecimal section) that makes it possible to convert the hexadecimal letters into decimal or bianray numbers. There are also many tables that use ranges so for each one detecyed in the binary nomber we can add a power of 2, the length of the table also makes it so that we can easily find the power of 2 that we need by just using the len() command.
I said earlier that this code was used to help me train for highschool exams but it can have many more uses, for example it can simply be added to any python script to have a quick binary conversion without needing exterial libraries.
Lors du chapitre de représentation de donnée, qu'il necessitait beaucoup d'entraînement pour éviter les fautes d'étourderie mais j'ai aussi constaté que l'IA perdait beaucoup de temps pour la convertion ce qui s'est révélé être une perte de temps lorsque je voulait faire le plus d'exemple possible.
- Execute le script
- Choisis la langue
- Choisi la convertion
- Met le nombre que vous souhaitez convertir
Le code contient de nombreuses conditions et exeptions (surtout dans la section hexadecimale) qui le rende impossible to convertir le