Skip to content · ⁨Passer au contenu⁩
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 +.
Français

Demander à l'utilisateur avec input

  • input() attend que l'utilisateur tape une ligne et appuie sur Entrée.
  • Il renvoie ce qu'ils ont tapé. Stockez-le dans une variable.
  • Jointez deux chaînes ensemble avec +.

Handout · ⁨Fiche de cours⁩

Log in or create account · ⁨Se connecter ou créer un compte⁩

IGCSE, A-Level & AP