# Flashcards: 03-input

**Front:** input()

**Back:** input("Name: ") asks a question, waits for Enter, and returns what was typed as text.

---

**Front:** prompt

**Back:** The text inside input() is the prompt, the words shown to the person.

---

**Front:** int()

**Back:** int("12") gives 12, turning text made of digits into a whole number.

---

**Front:** TypeError

**Back:** age + 1 gives a TypeError when age is still text, because text and a number can't mix.

---

**Front:** ValueError

**Back:** int("twelve") gives a ValueError, because "twelve" doesn't look like a whole number.

---

**Front:** comma print

**Back:** print("Sam is", 12, "years old") shows Sam is 12 years old, with a space between each piece.

---
