看板 Python 關於我們 聯絡資訊
各位好 小弟在上MIT的開放式課程 他們的第一個小題目是 Enter your last name: **Grimson Enter your first name: **eric eric Grimson 依照他們提示來到這個網站 http://en.wikibooks.org/wiki/Python_Programming/Input_and_output 小弟直接複製貼上 print raw_input('What is your name? ') What is your name? <user input data here> x = raw_input('What is your name?') print ('Your name is ' + x) 然後Enter What is your name? wayne wayne 並沒有 Your name is wayne 為什麼呢?? 另外我還不知道怎麼換行 一般習慣都是按Enter換行 然後題目究竟該怎麼寫呢?? 小弟真的是新手拜託各位了 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 1.171.16.93 ※ 編輯: cscscscs22 來自: 1.171.16.93 (10/01 23:04)
IAMPF:有完整的碼? 10/01 23:06
cscscscs22:不懂您的意思?? 我照該網站的輸入 竟然不一樣的答案 10/01 23:10
Arim:原PO可以分享一下該課程嗎XD? 10/01 23:14
http://open.163.com/ocw/ 中國網站 有中+英雙字幕 計算機分類直接下載 ※ 編輯: cscscscs22 來自: 1.171.16.93 (10/01 23:20)
Arim:謝謝 :) 10/01 23:23