Python : Introduction to Python

निम्नलिखित में से कौन सा एक इनवैलिड वैरिएबल है? , Which of the following is an invalid variable?

निम्नलिखित में से कौन सा एक इनवैलिड वैरिएबल है?

Which of the following is an invalid variable?
A. my_string_1

B. 1st_string

C. foo

D. _myvar



Correct Answer :

B. 1st_string



Explanation
Variable names should not start with a number.
CCC Online Test , CCC MCQ Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz career counselling in allahabad Website development Company in Allahabad