17) Which of the following words cannot be a variable in python language?
a. val
b. val
c. try
d. _try-
Answers
Answered by
10
_try-
Hope this is true
If it is the mark me as brainlist
Hope this is true
If it is the mark me as brainlist
Answered by
3
The correct answer is (d) and (c) _try- and try respectively
A Python variable is a reserved memory location to store values.
- In other words, a variable in a python program gives data to the computer for processing.
- Variables cannot however be named the same as keywords (as in case with "try" which is a python variable)
- Variables cannot contain any special character except "_".
- They cannot start with numbers and can only contain alphabets, numbers and underscore (_)
Similar questions