判断题

有如下代码:

with open('RGB.jpg','rb') as f:
    a=f.read()

这段代码可以将图像文件RGB.jpg的二进制数据存储在变量a中。( )

A 正确
B 错误
赣ICP备20007335号-2