40923123 cp2020

  • Home
    • Site Map
    • reveal
    • blog
  • 首頁
  • 第一組組員
  • git指令表
  • HW1
    • unit 1 succeeding PC Hardware
      • What You Need to Know About the Course
      • About These Materials
    • unit2 hardware basice
      • PCH1 The Basics
      • PCH2 Procedures and Safety
      • PCH3 Customer Relations
  • python variable
    • keywords
      • input
      • print
    • 變數及基本運算
      • assign 指定
    • Dictionary 字典
  • 問題排除
    • 1 heading問題
    • 2 提醒
    • 3 user內容的方式
    • 4 github page not updating
    • 5 網站編輯器無法開啟
    • 6 usb的問題總結
    • 7 同學大部分的問題和集 舊版
  • 教學歷程
    • W1至W8
    • W8 test
    • W9
  • HW2
    • HW2之1
    • HW2之2
    • HW2之3
  • 同學的問題集中串
  • 打開動態網站的方法
  • pyrhon學習網站
    • 英文
    • 中文
keywords << Previous Next >> print

input

Sometimes we would like to take the value for a variable from the user via their keyboard. Python provides a built-in function called input that gets input from the keyboard1. When this function is called, the program stops and waits for the user to type something. When the user presses Return or Enter, the program resumes and input returns what the user typed as a string.

簡單來說有時候會出現需要根據輸入不一樣的字 , 而產生一些不一樣的功用

  1. 目前想到有你在遊戲裡輸入名字而接下來的劇情顯示名字則會一直出現這個名字

(此文暫時到這如有新內容則會進行更新)


keywords << Previous Next >> print

Copyright © All rights reserved | This template is made with by Colorlib