ExamPlay Light Logo
Se connecter

Computer Science for IGCSE & O level - Programming (Section 3 - No. 23)

Which of these is an example of a valid variable assignment in Python?
123 = x
name = "John"
if = 10
my variable = 5

Explication

Variable names must start with a letter or underscore and cannot be a reserved keyword.

Commentaires (0)

Connectez-vous pour commenter
Publicité
BrainBehindX Inc Logo
©2026; Alimenté par BrainBehindX Inc