question archive Python variables do not need explicit declaration to reserve memory space
Subject:Computer SciencePrice:2.86 Bought12
Python variables do not need explicit declaration to reserve memory space. Based on this statement, address the following in your initial post:
Difference between explicit typed variables and implicit typed variables using examples :-
int Value = 10; // explicit assignment
By assigning this way the interpreter in c language get information like how much memory space is to
reserve for the variable , and also get the information like what is the type of variable.
count =100 # Like this you can assign the integer data.
Distance = 72.4 # Like this you can assign the floating number.
Name = "Rahul" # Like this you can assign the string.
In large scale applications explicit declaration has a better impact over implicit declaration because :-
int count = 23;
float distance = 22.5;
char name[] = "Rahul"
count,distance,name = 23,22.5,"Rahul"