mirror of
https://github.com/arthur-pbty/nsi.git
synced 2026-06-03 15:07:31 +02:00
8 lines
160 B
Python
8 lines
160 B
Python
es = int(input("Entrer un nombre entier (0 à 255) : "))
|
|
|
|
if es >= 127:
|
|
rbn = es - 256
|
|
else:
|
|
rbn = es
|
|
|
|
print("Cela représente l'entier signé : ", rbn) |