单项选择题
在Python中,以下哪一选项用于输出字符串"Hello,World!"?()
A.echo "Hello,World!"
B.print("Hello,World!")
C.printf("Hello,World!")
D.cout<<"Hello,World!"
点击查看答案&解析
相关考题
-
单项选择题
在Python中,以下哪个语句可以查看各参数帮助信息?()
A.python -h
B.python -help
C.python --help
D.python /h -
单项选择题
在Python中,以下哪个语句可以输出Python路径?()
A.import sys;print(sys.argv)
B.import sys;print(sys.path)
C.from sys import argv;print(argv)
D.from sys import path;print(path) -
单项选择题
在Python中,以下哪个语句可以导入模块的全部成员?()
A.import sys
B.from sys import argv
C.from sys import *
D.import argv
