#input code print 'hello, python' 新人求解
#input code print 'hello, python' ? 求解: #input code第一行是重置代碼后顯示的,print 'hello, python' ?是我輸入的,之后呢? 之后回車就直接跳第三行了。不是應該打印出來呢?不應該是下面一樣的么? >>> print "hello,python。" hello,python。
#input code print 'hello, python' ? 求解: #input code第一行是重置代碼后顯示的,print 'hello, python' ?是我輸入的,之后呢? 之后回車就直接跳第三行了。不是應該打印出來呢?不應該是下面一樣的么? >>> print "hello,python。" hello,python。
2017-03-06
舉報
2017-03-06
#好像是注釋的符號吧,你把輸出語句和#input code寫在同一行了,相當于被注釋掉了