题库首页 › 信息素养大赛(Python) › 题目 21482

下列Python表达式中,能实现“将10进制数255转换为16进制字符串”的是()

A. bin(255)
B. oct(255)
C. hex(255)
D. str(255)

正确答案:C

在线做题 同科目题库