+ 8
Can anyone explain this to me in very simple words?
Certain restrictions apply in regard to the characters that may be used in Python variable names. The only characters that are allowed are letters, numbers, and underscores. Also, they can't start with numbers. Not following these rules results in errors.
9 odpowiedzi
+ 5
It means you can only use the 26 letters of the latin alphabet, 0-9 and this thing _ (underscore). Whatever you do, don't
1: copy another python word, like "print" or "input"
2: Don't start with a number.
+ 22
Keywords are not allowed.Spaces are also not allowed.
We can use letters a-z A-Z and numbers 1-9 but don't use numbers in the starting
Special characters are not allowed except underscore(_)
We can use underscore instead of spaces to seperate words
Not following these rules results Syntax error
Python is a case sensitive programming language.It means there is a huge difference between capital letters and small letters
+ 9
It means that variables in Python has some naming restrictions:
>It has to contain only letters, numbers and underscore (that is this:_).
>Also it can't start with number.
>And they can't have same names as python keywords.
And that if you don't follow this rules it will cause error
+ 4
Valid definitions for variable names eg:
apple = '@'
H_1 = 15
_var = True
this_is_another_567 = 0
Not valid:
15var (begins with number)
var 32 (has whitespace)
A+B? (has special chars)
+ 1
You can't start using Number and space between variable name you can declare like : variable_name
0
Very simple locatio to where the inputed data gets stored
0
It means variable
1. can't start with numbers.
2. Can starts with alphabet or underscore (_).
3. Can't use space between variable's name.
4. Can use alphabet, numbers, and underscore only.
0
Sure! It means that the person is asking for a clear and easy explanation of something. They want it to be simple and easy to understand, without using complicated words or ideas.
https://cbdboxesus.com/
- 2
А на русском можно писать?