Q. Give three examples of legal variable names and two examples of illegal varial names in python.For the illegal variable names explain why they are illegal.Do not use one-letter variable names.
Answers
Answered by
11
Legal variables are the names of the values which are accepted by Python and illegal names are the names of the values which are not accepted by Python.
There are a few constraints to what we can use.
(1) The names couldn't start off with numbers
(2) No special characters could be used
ILLEGAL NAMES:
- 1stname
- brainly-in
- @gmail
LEGAL NAMES:
- firstname
- brainly_india
- at_gmail
Answered by
0
Answer:
vlvlglsjsjshshsjsjjsja
Similar questions