Which of the following variable names are illegal? (Select two answers)
A . TRUE
B. True
C. true
D. and
Answer: B, D
Explanation:
Topics: variable names keywords True and
Try it yourself:
TRUE = 23
true = 42
# True = 7 # SyntaxError: cannot assign to True
# and = 7 # SyntaxError: invalid syntax
You cannot use keywords as variable names.
Latest PCEP-30-02 Dumps Valid Version with 124 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund