Skip to content · ⁨ข้ามไปยังเนื้อหา⁩
English

Ask the user with input

  • input() waits for the user to type a line and press Enter.
  • It gives back what they typed. Store it in a variable.
  • Join two strings together with +.
ไทย

ถามผู้ใช้ด้วย input

  • input() รอให้ผู้พิมพ์บรรทัดแล้วกด Enter
  • มันย้อนกลับสิ่งที่เขาพิมพ์ เก็บไว้ในตัวแปร
  • เชื่อมสตริงสองอันเข้าด้วยกันด้วย +

Handout · ⁨เอกสารประกอบการเรียน⁩

Log in or create account · ⁨เข้าสู่ระบบหรือสร้างบัญชี⁩

IGCSE, A-Level & AP