Answer:
Option (a) myCar
Explanation:
Option (a) is Correct
If there are two or more words in variable we can use camel case to declare the variable. In camel case first character of first word is either a lowercase alphabet or underscore (_) and first character of second word is a uppercase alphabet. ex: empNum, myCar
So the Option (a) myCar is correct among the given options
Option (b) is incorrect
Since both the first letter of two words are in lower case which is not according to camel case rules
Option (c) is incorrect
The first letter of first word is in lower case first character of second word is a uppercase alphabet but there is a gap so it is not valid .
Option (d) is incorrect
The first word is in upper case and first character of second word is a uppercase alphabet it is not valid.
Answer:
dog
Explanation:
Given the code :
>>> A = [21, 'dog', 'red']
>>> B = [35, 'cat', 'blue')
>>> C = [12, 'fish', 'green']
>>> E = [A, B, C]
the value of E[0][1]
Here, square boxes is used to select the value at E[0] ; the output is then used to select the value at index 1 of E[0] output.
Note that, indexing starts at 0; hence first list element is 0, then, 1, 2, and so on.
At
E[0] ; list E, index 0 (first element in the list) , gives an output A
Then, A[1] ; list A, index 1 (second element in the list) gives 'dog'
0001010010100000?
Hopefully I'm right