单选题

已知password存储了用户input()输入的密码(注:经过数据类型转换,password最后存储整数型密码),如果密码等于667722则打印输出"恭喜!密码正确".下列选项能准确表达此逻辑的是(    )

A

if password=="667722": print("恭喜!密码正确")

B

if password==667722: print("恭喜!密码正确")

C

if password=667722: print("恭喜!密码正确")

D

if password="667722": print("恭喜!密码正确")

赣ICP备20007335号-2