To format a number in hexadecimal with f-strings, you can use the format specifier {variable:x} . If you want zero padding, use the format specifier {variable: ...
確定! 回上一頁