Question: Which of the following are legal Python variable names? ( a ) var 2 ( b ) _ var 2 ( c ) - var

Which of the following are legal Python variable names?
(a) var2
(b)_var2
(c)-var2
(d)+var
(e) var 2
(f) var_2
(g) var-2
(h) var2____
(i)2var
(j) var@

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!