【《Python編程: 從入門到實踐》習題答案--第七章:】

#本章節代碼中暫不涉及try-catch,因此默認爲用戶輸入的符合所須要的輸入類型 # 7-1 汽車租賃 : 編寫一個程序, 詢問用戶要租賃什麼樣的汽車, 並打印一條消息, 如「Let me see if I can find you a Subaru」。 msg = input('請輸入您要租賃的汽車名稱:') print('Let me see if I can find you a '
相關文章
相關標籤/搜索