0Pricing
Coding for Kids · Lesson

Asking for the Name

Use input to talk with the user.

Talking to the Computer 💻

Hello, friend! 👋 So far WE told the computer things. Today the computer asks US a question and waits for our answer! 🤩

The input() Magic 🪄

The word input() makes the computer ask and wait for you to type.

Whatever you type becomes a string!

name = input("What is your name? ")
print("Hi!")

All lessons in this course

  1. What Is a String?
  2. Joining Words
  3. Asking for the Name
  4. Big and Small Letters
← Back to Coding for Kids