ExamPlay Light Logo
Đăng nhập

JAMB - Computer Studies (2023 - No. 24)

Which of the following is a valid variable name in Python?
my_variable$
my_variable
my-variable
1my_variable

Giải thích

Variable names in Python must start with a letter or underscore, and can only contain letters, numbers, and underscores. The other options are invalid because they either start with a number (option C) or contain a special character (option D).

Bình luận (0)

Đăng nhập để bình luận
Quảng cáo
BrainBehindX Inc Logo
©2026; Được cung cấp bởi BrainBehindX Inc