name = "Doug"if name== 'Doug':print "hello,D-man!"print "how are you today"name = "Doug"if name== 'Doug':print "hello,D-man!"print "how are you today"哪里错了?????????????
2 回答
宝矿力
TA贡献1条经验 获得超0个赞
name = "Doug" if name== 'Doug': print "hello,D-man!" print "how are you today" name = "Doug" if name== 'Doug': print "hello,D-man!" print "how are you today"
ninebean90
TA贡献2条经验 获得超1个赞
>>> name = "Doug"
>>> if name=='Doug':
print "hello,D-man!"
print "how are you today"
下面是输入print命令后的结果
hello,D-man!
how are you today
不知道这个是不是你想要的结果??
添加回答
举报
0/150
提交
取消