Python
De TARENTINO
Révision datée du 17 février 2020 à 21:44 par Ange (discussion | contributions) (Page créée avec « #!/usr/bin/python3 # -*- coding: utf-8 -*- # VAR nombre:int nb_hexa:str nb_oct:str nb_bin:str # START nombre=int(input('Donner moi un nombre?\n')) nb_hexa=hex(nombre) pri... »)
- !/usr/bin/python3
- -*- coding: utf-8 -*-
- VAR
nombre:int nb_hexa:str nb_oct:str nb_bin:str
- START
nombre=int(input('Donner moi un nombre?\n')) nb_hexa=hex(nombre) print(nb_hexa) nb_oct=oct(nombre) print(nb_oct) nb_bin=bin(nombre) print(nb_bin)