Which of the following is NOT a valid way to declare a variable in Python?
A. x = 5
B. 5 = x
C. x = “hello”
D. x = [1, 2, 3]
Answer:B
Which of the following is NOT a valid way to declare a variable in Python?
A. x = 5 B. 5 = x C. x = “hello” D. x = [1, 2, 3]