Discuss / Python / name = raw_input() print 'hello,', name

name = raw_input() print 'hello,', name

nishno_s45

#1 Created at ... [Delete] [Delete and Lock User]

name = raw_input() print 'hello,', name

这个在ide运行时为什么只让输入,并没有第二行的打印出hello,...

Mankit_Chan

#2 Created at ... [Delete] [Delete and Lock User]

name = raw_input('please input your name:') ;print 'hello,', name

不同意义的语句写在同一行要用“;”隔开


  • 1

Reply