QuizLander
← Tous les quiz publics

Python — Basics: Syntax, Types & Variables

par Jude · 23/05/2026 · 5 vues · 0 partages

Get started with Python: variables, primitives, operators, type conversion, syntax. 20 questions.
20
Questions
🇬🇧 English
Langue
🟢 Facile
Difficulté
Démarrer le quiz (invité ou compte)
Partager comme image

Aperçu des questions

  1. 1. What does this print?
    x = 7
    y = 2
    print(x // y, x % y)
  2. 2. Which is an invalid Python identifier?
  3. 3. What does type(3 / 2) return in Python 3?
  4. 4. What is printed?
    a = "3"
    b = 4
    print(a * b)
  5. 5. Which literal has type bool?

… et 15 autres questions.

Commentaires

Connecte-toi pour commenter.

Chargement…