首页
›
答案
›
题库
›
知识竞赛未分类
已知x=‘hellowworld.’.encode(),那么表达式x.decode(‘gbk’)的值为’hellowworld.’。()
已知x=‘hellowworld.’.encode(),那么表达式x.decode(‘gbk’)的值为’hellowworld.’。()
A.正确
B.错误
正确答案:A
标签:
Python程序设计
表达式
上一条:
Python3.x中字符串对象的encode()方法默认使用utf8作为编码方式。()
下一条:
已知x=‘Python是一种非常好的编程语言’.encode(),那么表达式x.decode(‘gbk’)的值为’Python是一种非常好的编程语言’。()