Convert Hex to Decimal · Python Program h = input('Enter hex : ') d = int(h, base=16) print('Decimal :', d) · Output #1. Enter hex : A2 Decimal : 162 · Output #2
確定! 回上一頁