<filename>dechexoctbin.py
#!/usr/python3.5
#-*- coding: utf-8  -*-

print(" décimal		hexadécimal	octadécimal	binaire")
for i in range (50):
	print ("|",i,end=" ")
	print ("|",hex(i),end=" ")
	print ("|",oct(i),end=" ")
	print ("|",bin(i),"|")



<filename>dechexoctbin.py
#!/usr/python3.5
#-*- coding: utf-8  -*-

print(" décimal		hexadécimal	octadécimal	binaire")
for i in range (50):
	print ("|",i,end=" ")
	print ("|",hex(i),end=" ")
	print ("|",oct(i),end=" ")
	print ("|",bin(i),"|")



#!/usr/python3.5 #-*- coding: utf-8  -*-