0
Why are we not declare int or float variable?
3 Respostas
0
In the background, python auto checks what each value is. Be that an integer, float, Boolean, or string.
This isn't just for convenience, but also makes the variables themselves be able to accept any data type. This makes python more versatile and efficient than some other languages that require variables to be declared a data type first.