In this example, we take an integer value and format it to Hex upper-case, using format() builtin function. Python Program a = 31 result = format(a, 'X') print( ...
確定! 回上一頁