0
Python. Can someone please explain what does it mean a value can be defined?
6 Respostas
+ 4
It means you give a name to a value.
x = 5
Now x is defined as refering to the integer 5, and whenever you write x in your code, it will mean 5.
print(x)
Output: 5
+ 1
Thx
+ 1
HonFu or simply, variable got name and alocate memory for given type (int, bool, string etc.).😎
0
Aaaa
0
In Python, variable doesen't have type by default cause type are defined thru char at right side.
0
Thx