Which of the following is a valid variable name in Python...
Which of the following is a valid variable name in Python?
my_variable$
my_variable
my-variable
1my_variable
Correct answer is B
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).
The computer hardware is made up of system unit and? ...
To hibernate windows operating system means? ...
The Windows PC and the Apple Macintosh are examples of two different? ...
What is the major purpose of application software? ...
The figure 2 in the number 11012 is indicated in MS Word using a feature called ...
Which of the following statements can be used for looping in BASIC? ...
Anti-virus software is an example of ? ...
Which of the following is not a mobile input device? ...
Storage which retains data after power cut off is called ...